ajax - How to create a small widget with JavaScript - Stack Overflow

I really don't know how to describe it, but if you understood it and had experience on that field,

I really don't know how to describe it, but if you understood it and had experience on that field, may be you can help me with something 'Open Source' and 'Ready-made'.

I want to create something like a box 'or widget', where you can change its content by hitting some buttons on the top of the box. (Hey the box is on a web page and this should use Ajax and Javascript).

I have tried some ready scritps, but I found them limited and they drive me crazy, JS frameworks also don't seems to offer such solution. Any body have any idea on that field?

I really don't know how to describe it, but if you understood it and had experience on that field, may be you can help me with something 'Open Source' and 'Ready-made'.

I want to create something like a box 'or widget', where you can change its content by hitting some buttons on the top of the box. (Hey the box is on a web page and this should use Ajax and Javascript).

I have tried some ready scritps, but I found them limited and they drive me crazy, JS frameworks also don't seems to offer such solution. Any body have any idea on that field?

Share Improve this question edited Aug 2, 2012 at 13:09 danielrvt 11k21 gold badges85 silver badges129 bronze badges asked Nov 28, 2008 at 15:40 Omar AbidOmar Abid 16k28 gold badges79 silver badges111 bronze badges 2
  • Expand your requirements a bit more. Is this Box and buttons to be generated dynamically? What should happen when a button is pressed what is the box updated with? – James Hughes Commented Nov 28, 2008 at 15:58
  • Are you looking for a dialog box type of thing? – strager Commented Nov 28, 2008 at 17:52
Add a ment  | 

2 Answers 2

Reset to default 3

Just because the box is on a Web page doesn't mean it should use AJAX, Omar. Have you thought about using a third-party solution like ClearSpring or WidgetBox? If you need to put your widget onto Myspace, you'll want one of these.

That said, I've taken a couple of JavaScript-only runs at this problem; see Twitterati and Put Your Digg In A Box for examples, and my Global Widget Summit presentation for explanations.

Have you tried Jquery?

Visit www.jquery.

Some example can be found at http://www.openjs./scripts/events/keyboard_shortcuts/

Also please check the In-place editing example at http://www.appelsiini/projects/jeditable http://docs.jquery./Tutorials:Edit_in_Place_with_Ajax

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745376554a4625024.html

相关推荐

  • ajax - How to create a small widget with JavaScript - Stack Overflow

    I really don't know how to describe it, but if you understood it and had experience on that field,

    3小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信