• Option in Preferences to disable auto-refresh?

    I really really would like to turn off the auto-refresh. Personally, I think it's terrible, and at the very least should be optional. edit: In case it's already possible to disable the auto-refresh, please point me in the right direction. I will forever be thankful. ;)
  • [autocomplete] adding element to end of autocomplete list

    I am using the autocomplete plugin on my website and I wanted to add an element to the end of the of the <div/> that contains the autocomplete list, but only if the list is at it's maximum.  Basically, I just wanted to let the user know that they can refine their search to get more results.  I have attached a patch of jquery.autocomplete.js where I added my changes.  It's probably only a total of about 10 or 15 lines.  The diff is from a svn repository, so I'm not 100% confident that it will apply
  • How about a Compare() function ?

    I have looked alot but I haven't found anything to compare two or more objects if they are the same or not...then return bool (true,false). <div>ABC</div> <div>ABC</div> <div>ABC</div> <div>abc</div> var d1 = '';// reference to first div var d2 = '';//reference to second div var d3 = '';// reference to third div var d4 = '';//reference to fourth div jQuery.compare(d1,d2);// return true jQuery.compare(d3,d4);// return false the compare function should compare an object or an html element if they are
  • Add global search on jquery homepage?

    Hi all, How about add a global search function on jquery homepage, and user can use it to search all content of JQuery such as plugin,doc and UI. Regard, -Becoder
  • jQuery manual redirection from URL

    One thing I like about the php.net website is that you can add a function name to the end of the URL and it will redirect you to the manual page. e.g.   php.net/substr -> http://au2.php.net/substr   It would be ace if jQuery did that. e.g.   jquery.com/append ->  http://api.jquery.com/append/   At the moment I either type "append" in the google search box in my browser and then click the first result, or I drill down into the jQuery website. I think the URL redirecting would speed things up a bit.
  • jQuery UI - include the theme URL in the downloaded zip

    Hi, Firstly, many thanks for the wonderful jQuery and UI frameworks! They simply rock! One thing that would be great, is to include the URL of the currently downloaded theme, so it is easy to go back to the themeroller page and modify the theme. At the moment, when I modify a theme, I have to make sure I do not forget to copy/paste the resultant URL, so that, when I want to change it, I can go back to the site and do so. Cheers, Nick
  • JQuery alternative SELECTORS ....

    I am sure that everyone has come across this problem and wishes they had an easier option ... var selector = $('#selector'); $(selector+' .class').foo(); or var selector = $('#selector'); $(selector+' li').foo(); I was wondering if the above could be implemented and i am sure that everyone would find it helpful, especially when dealling with UI's. I think it would defenetly speed up the time we spend developing with jquery.
  • .serializeArray() as JSON Map

    Hello again! Well, I propose this: Currently, if you use .serializeArray() will get anything as: [{name: "test", value: "test"}, {name: "test2", value: "test2"}] But if you need pass this as POST in AJAX (that need a MAP object), you need converts: {test: "test", test2: "test2"} I propose .serializeArray(asMap = true) to generate this. Bye.
  • (treeview) cookie based persistence should add a cookie path option

    Now the tree-view plug-in use current path to set cookie, it will be more convince if cookie path could be specified. I attached a patch add a option named 'cookiePath' which be used to assign cookie path. By default, the cookie path is '/'. It works for me.
  • Recursive .children(a, b) instead of .children(a).children(b)

    I would like to suggest extending the functionality of a .children method (and other traversing methods where applicable) to accept variable length parameters set. Currently I use my own extension method which does the job: jQuery.fn.extend( {     childrenCascade: function()     {         var result = this;         for (var i = 0; i < arguments.length; i++)         {             result = result.children(arguments[i]);         }         return result;     } } It would be nice to have such an option
  • Flicker free initialization that degrades gracefully

    One big issue I've found with various jQuery UI widgets and other effects if that they cause a "browser flash" on initialization, a prime example being how for tabs all the content is visible until the tab initializes and then all the non-active tabs vanish.  One way around this is to add the jQuery UI classes manually in your markup so that the tabset appears the same regardless of whether or not the tabs have been initialized, but this does not degrade gracefully and leaves users without javascript
  • Changing behavior of events to use something else than this

    If you use events the this reference is overwritten with the triggering DOM object. In classes this is not very useful because a direct called function looses their this reference. My suggestion is to give the user a method to change the behavior of events in the way that the user can set a new name where the DOM object reference is saved. For Example: var A = {  var1 : 1,  f1 : function() {  alert(this.var1) //will fail when event calling f1 directly  alert(A.var1) //will always work  } }; $(window).ready(A.f1);
  • Autocomplete to allow for multiple words

    I am new to this forum, so please forgive me if this has already been posted. It would be great if one could specify a delimenator so that a fresh autocomplete list appears when one starts a new word followed by the delimenator, in the same string. This would work great for things like email addresses. How could I go about contributing development to these controls? Thanks for a great library!
  • Patch for Trac bug #3945, DatePicker does not respond to any click events in AIR

    Hi, I have recently submitted a patch for bug #3945. As per the Bug Fixing Guide, I’m posting here to get a review & (hopefully) a commit. It is a pretty straightforward; it just removes the inline event handlers, which makes AIR happy again. I think that I’ve successfully tested all the functionality that would be affected by this patch—inline and pop-open, date range limitations, drop-down month and year selectors, the “today” and “close” buttons, and they all continue to work properly. Regards,
  • Sychronized animations and where eventual implementation should be added

    At the moment in jQuery (and UI as well, see explode effect for prime example); there is no possibility to execute multiple animations in parallel and guarantee that they will execute in sync. At http://dev.jquery.com/ticket/6281 I proposed an implementation to effectively enable synchronization; but question arises if this should be in Core or in UI. Thus I need to ask you what you think, and also if my implementation is the right™ way to accomplish this. An example of this issue can be found at 
  • VCS

    I think it would be wise to change VCS from svn to git for jquery-ui.
  • Transversing with function param (ex: .next(function))

    Hello I propose this idea: Code to apply (example): <div id="test">   <div>Test</div>   Hello World!   <b>Hello</b>   New Test! </div>​ Application: $('#test')   // Get textNode contents only   .contents(function(){     if(this.nodeType === 3){       // Add to collection when return true       return true;     }   })   // For each textNodes, change value   .each(function(){     this.nodeValue = 'Changed!';   });​ Results: <div id="test">   <div>Test</div>   Changed!   <b>Hello</b>   Changed! </div>​
  • Allow cancelling of all autocomplete events

    Hi, I would like to be able to cancel the close event, for weird client-requirement reasons. It seems reasonable to make all the events cancelable. In this case of close, the code change is simple: From:             this._trigger( "close", event );             this.menu.element.remove();             this.menu = null; To:         if ( false !== self._trigger( "close", event ) ) {             this.menu.element.remove();             this.menu = null;         }
  • Why should left and right keys trigger autocomplete search?

    Can we ignore the left and right keys or make it an option to have these keys trigger the search action? It seems strange that moving the cursor left or right would trigger it. Add:                 case keyCode.LEFT:                 case keyCode.RIGHT: just before                 case 16:                 case 17:                 case 18:                     // ignore metakeys (shift, ctrl, alt) in the _create function.
  • Documentation

    Why do the API docs keep changing format?  Can we keep them in the old more organized format?  Having a giant list of methods makes it difficult to find information.
  • rleadingWhitespace

    Please do not forget to replace rleadingWhitespace from jquery / src / manipulation.js with trimLeft (defined in jquery / src / core.js ) --DBJ
  • cycle plugin : how to pause the animation onmouseout and resume it onmouseover (exact opposit of "pause: 1,")

    Hi! Here is the way to pause the animation by default, resume it onmouseover then pause it again onmouseout. So, it's the exact opposit of "pause : 1". here's the way to do it, based on the fade effect: /* SCRIPT */ <script type="text/javascript"> $(document).ready(function() {     $('div.slideshow').cycle({         fx: 'fade',         speed:    300,         timeout:  800     });     $("div.slideshow").cycle('pause'); //we pause the animation by default     $("div.slideshow").mouseover(function(){
  • Closest work with open child selector

     I'm not sure delegating from non-document elements is not officially supported.  But, I'd like to be able to do something like the following: $(">ul>li>a", el).live("click", func) because: $(el).find(">ul>li>a") works. for this to work, filter would need a context, but this starts going into Sizzle.  Is this something sizzle could support?
  • .attr(null) can return element attributes

    Hello! It's a example: <div id="test" style="font-color: red;" class="test-one" onclick="test()"></div>Then if you do: $("#test").attr(); Will return: {   id: 'test',   css: {     fontColor: 'red'   },   class: 'test-one',   click: function(){     test();   } } Bye.
  • faster jQuery.trim()

    Here's a patch for a faster version of jQuery.trim based on native String.trim and these improvements: http://blog.stevenlevithan.com/archives/faster-trim-javascript Test case: http://jsbin.com/oquji/2 Patch: (removed) I also just requested a pull request. The native String.trim is ridiculously fast.
  • onAfterChangeMonthYear addition to datepicker

    Hello, I made a change to datepicker that may be useful to others, so I'm forwarding the idea for inclusion in the widget. The datepicker widget currently supports onChangeMonthYear callback, but... this gets fired before the calendar view is updated.  If the calendar is sitting inside some flexible container that needs programatic resizing (eg. a div inside a Coda slider panel) I can't use this callback to refresh the view. What I needed was a callback to fire after the calendar has been changed,
  • Please add nodelevel() method concept

    Instead of using parent() or children() methods. nodelevel() could traverse to any node in the DOM. $(element).nodelevel( +1 )  Capture a parent node 1 level up from the selected node $(element).nodelevel( +3 )  Capture a parent node 3 levels up from the selected node $(element).nodelevel( +1all )  Capture all parent nodes at each level up from the selected node $(element).nodelevel( -1 )  Capture all child nodes 1 level down from the selected node $(element).nodelevel( -3 )  Capture all child nodes
  • Simple bug fix IE xml parse problem

    As you might know, IE often has trouble parsing XML data received from an ajax request. When you call the function belong on the data, you can also parse it in IE. function ieAjaxBugFix(data) {     $("#_jqueryAjaxBugFix").remove();     $("body").append("<div id=\"_jqueryAjaxBugFix\"></div>");     $("#_jqueryAjaxBugFix").html(data);     return $("#_jqueryAjaxBugFix").html(); } An example: $.get("www.example.com",function(data) {     data = ieAjaxBugFix(data);     $("#content").append($(data).find("#menu").html());
  • Feature Request/Bug Report: Ability for slider to be aware of the right-to-left direction

    When using slider in the right to left direction, it still starts with zero on the left side. Please let me know how I may patch the slider so that it will work in the correct direction. Thank you in advance, Jonathan
  • Button GET\SET Value

    Because the button is a part of a form element and can be used as a checkbox or radio, it should have a get and set value method. Though the values inherited from markup, i would propose to add this feature. For example I'm working with an Ajax form, and i need to change state of button each time i get a response, that kind of  behavior i don't need while submitting the form to a URL.
  • Can JQ add such 2 events: focusenter & focusleave?

    Just like mouseenter and mouseleave, sometimes I just want to trigger the focusin event only once while the focus doesn't leave the top parent element, so could you supply such 2 new events?
  • Proposed patch for ticket #4458: ui.dialog moves content out of <form> tag

    I've attached a patch file for a potential fix for ticket #4458 http://dev.jqueryui.com/ticket/4458 This is my first patch for jQuery, so I'd welcome any feedback about my patch (why it sucks, etc.)
  • Need of a new option in droppable

    Suppose, if we have a series of girds and want to know from which grid dragging is started, we can implement the following code, but I think there should be another option dealing this situation; though we have only two options ‘out’ and ‘over’, and can use them.   var droppableStart = '';     $("#draggable").draggable({         start: function(){           droppableStart = '';         }       });     $(".gridArea").droppable({       tolerance: 'intersect',       over: function() {         if(droppableStart
  • Finite State Machine plugin to make testing AJAX simpler

    I'm working on a Rails site using jQuery, and after reading this great post discussing the similarities between the Given/When/Then integration testing pattern and finite state machines, I've decided to try implementing all my AJAX as a FSM. The benefits of treating AJAX as an FSM is that if you can define all the possible states (S) and the transitions between them (T), then you can also describe all the expected outcomes with S * T tests.  This seems like a really powerful observation; it not only
  • wrapAll and clone

    At the moment, wrap, wrapInner and wrapAll all clones the input element, which results in that you can't manipulate  your reference to the container after calling wrap, and have to resort to foo.parent() instead. I think that for wrapAll in particular, no clone should be made, and the wrapping should be performed on the original element, as it will only be one "wrap" (singular) in the end.
  • A new type of .live() event

    Hello. I want propose a new "event" to .live(). See this case: I'm using AJAX to load HTML, and for all .roundedBox I need apply in ajax.success: $('.roundedBox').css({borderRadius: 5}); I suggest any more intelligent: $('.roundedBox').live('all', function(){   $(this).css({borderRadius: 5}); }); // Obs: the event "all" is only a bad-suggestion, is only for example Or be: to ALL new .roundedBox (indepentends if it is from AJAX HTML content or not), will be applied this event-method. Currently is
  • Starting sub-forums

    I've seen a count of sub-forums on the main page (currently zero). I'd like to set up a sub-forum related to jQuery and SVG - under Using jQuery or Using jQuery Plugins. How can I go about this? Is there a general way for users to start topic-specific sub-forums?
  • ui.position and collide with generic objects

    I would like to propose an extension of ui.position to "collide" with any object we have, either or both to collide with the whole object or just an edge. When "hitting" the object, the positioned element should be as near it's wanted position as possible while not intersecting the given edge. There might also need to be some vertical/horizontal modifier so we can limit the offset in one dimension. Example code how it would work, our object will collide with the left and right edge of obj1 and keep
  • .data( object ) and memory-leak

    For quite some time now I had intention to open this discussion because of increasing tendency of using data/event API on native objects. Why this is a problem? Well, the current $.data implementation is optimized for host objects only, and not for native objects too. In fact, it uses a cache object to store all related data and an expando with numerical values to keep references. The need of such solution is unquestionable and it fits well because elements are normally "eliminated" by using .remove()
  • jQuery Online User Group

    I have started a jQuery online user group . This is a place to meet monthly to learn, share and promote jQuery, jQuery expertise and unique and interesting uses of jQuery. The group will be hosted on Yamisee and held monthly. I'll be looking for topics and speakers for each session. You can contact me on info at mercatus3 dot com if you are interested in leading a session. There is a nominal fee ($3.99) which just covers the cost of the online room and will decrease if we have regular sustained participation
  • Next Page

  • Announcements

  • The Basics of jQuery AJAX

    A step-by-step tutorial for those new to jQuery and wanting to use AJAX in their projects. Includes valuable information about troubleshooting using the console and understanding the request / response. http://jayblanchard.net/basics_of_jquery_ajax.html
  • jQuery Conference 2010: Boston Announcement

      The jQuery Project is very excited to announce the jQuery Conference 2010: Boston on October 16-17, 2010.  The conference will be held at the Hilton Boston Logan in Boston, Massachusetts.  The best part of this announcement is that Tickets are on sale now!  This venue is the largest that the project has worked with to date (Harvard Law School in ‘07, the MIT Stata Center in ‘08 and Microsoft New England Research Center in ‘09) and we expect to sell out very quickly. A brief synopsis of some of