• New documentation layout

    Hi everyone, Am I the only one who liked the old tabbed documentation better than the new one? I hate to have to scroll down every time I want examples to a function. I heard that a lot of people complained about the tabbed layout (which I can't understand) but wouldn't it be better to let the user decide how to view it? The new layout can still be standard but I'd like a way to change it.
  • Remember Topic Filters

    I often browse a forum by "Unanswered Topics" so I can try to address those who haven't been helped yet. Once I reply, I click the forum link in the breadcrumb at the top, but it takes me back to the unfiltered post listing. I image that for most this is ideal - it would be annoying if you forgot you had a topic filter turned on, after all - but a quick link back to the topic listing with the topic filter intact would be great. I realize hitting my browser's back button would achieve this, but then
  • Howto: get a hold of jQuery 1.4.1-vsdoc for Visual Studio

    Step by step: http://www.morningz.com/2010/how-to-get-jquery-1-4-1-vsdoc/ If you're in a bind and can't get through those steps, feel free to email me (my username @ my username .com) and I'll shoot you a copy of jquery-1.4.1-vsdoc.js - Stephen ** Edit: aw heck, I can just attach the file in ".txt" form right to this post, nice ** ** Edit, take 2:  guess it's up on Microsoft's CDN now:  http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.1-vsdoc.js ** ============================================ "If
  • Filters for UNanswered questions and UNsolved problems

    Shouldn't there be filters in the forum for UNanswered questions and UNsolved problems? Are those not the ones needing attention the most? Or are they hiding in here somewhere?
  • Make the forum-select menu bigger

    There is a menu for selecting a sub-forum at the top of overview pages. Its just not big enough to show all entries, so that I have to scroll down to see eg. "About the jQuery forum". There doesn't seem to be any drawback to just making it a little bit bigger, removing the need for the scroll bar.
  • ScriptCommunicator for $.ajax script/jsonp loading

    Amix from Plurk has developed a cross-browser solution to detecting ajax script load failures. http://amix.dk/blog/post/19489 See the code here: http://github.com/amix/ScriptCommunicator/blob/master/script_communicator.js This would be a useful addition to the jQuery core. Can this be added?
  • using the submit event with modal form dialog

    A way to make the dialog UI modal form demo respect the enter key for form submission Add '<input type=submit style=display:none>' somewhere on the form Add 'onSubmit="return false"' to the form opening tag Put the form validation code in:     $("#dialog-form").bind( "submit", function() {... } Change the create button to:             'Create an account': function(){ $(this).trigger('submit'); } Tested and works in IE6/7/8 and FF3+ I think this should be the default operation of a modal dialog and
  • jquery ajax async vs html5 script async

    Firefox is now supporting the html5 proposed async attribute on scripts, which allows them to execute in a non-blocking fashion. The syntax is <script async=""> ... </script> (Note, not async="true", although async="async" is valid.) Here's how google analytics recommend using their tracking code asynchronously: var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  • A new TAB/AJAX menu without JQuery UI

    Hey guys... I realized a new Tab Menu, without using jQuery UI! The content in each section is called using jQuery AJAX function .load() There's a Loader too! Hope you like it!  Waiting for your comments 
  • Is there any plugin like jquery.template which also supports for each kind of loop

     Is there any plugin like jquery.template which also supports for each kind of loop?
  • [autocomplete] stopping additional ajax requests when starting letters already searching

    It would be great for an option to not start a new search when a search that could contain the data is currently going. This is what currently happens: Lets say I want to type "detroit" fast (ajax backend, query not currently cached or cache expired): - search begins on "de" (minChars = 2) - I keep typing fast before "de" search results come back - "det" starts loading, "de" search is aborted (! but still is trying to load on the backend) - "detr" starts loading, "det" search is aborted (! but still
  • Markdown as an optional input method?

    Would it be possible for us forum users to (optionally) trade in the WYSIWYG editor, for a simple Markdown intrepeter? ...StackOverflow uses Markdown for all of its `<textareas>`. Would make a lot of users happy, I'm sure. -- Már
  • Revert to old $.fn.add() behaviour, but provide a $.fn.sort()

    The backwards incompatible change to $.fn.add() in jQuery 1.4 is bugging me. First of all, it's breaking some old code, and second of all it bugs me because I don't get *why* it was changed to return a source-order sorted collection. Consider this bit of code:    var newElm = elm.prevAll().add( elm.parent() ).eq(0); In 1.3.2 and earlier `newElm == elm.prev()`, whereas as of version 1.4 `newElm == elm.parent()`. Questions: Could someone help me understand why this change to `.add()` was a) beneficial
  • tab post option

    It seems reasonable to have a post option with the tabs.  It is possible currently to set the tab to post by changing the ajax method to post, however, there is no way to easily provide a parameter with the post. (forgive my missing it if there is). To have a post option with a url and param(s), would be most beneficial. As another thought, if a callback could be added before the load, one could set the parameters for a post... this could also be useful for checking updates not saved, etc...  Thanks,
  • Annoying... $('<div>',{'class':'name'})

    What about adding an alias to map cls to class when constructing fragments with $(html, object). It is starting to strongly annoy me that every single time I want to add classes, I have to quote the 'class'. Can't fight ECMAscript, but I see no reason why we cant do a {class:'name'}. Am I alone? (And I really DO love the $(html, object), in case you suggest to not use it. It just feels retarded to write 'class'.) -- Aivo --
  • Not-logged-in warning

    The combination of allowing guest-posts and having remember-me not quite working leads to a lot of Guest-posts (requiring moderation) that should have been regular posts (not requiring moderation). That just happened to me, at least I could log in and delete my own post, replacing it with a proper reply. I'm not convinced of the merits of allowing guest posts. Assuming we keep those, how about big note about posting-as-a-guest?
  • jQuery.filter inline with ES5

    jQuery.fn.filter also works with callbacks (apart selectors, and elements). jQuery.filter doesn't. I would propose to integrate jQuery.grep inside jQuery.filter and to make those aliases. Also consider that there is intention to add a jQuery.forEach that would be inline to the ES5 spec, and making jQuery.filter inline with that spec too would be a logical move anyway. Here is a my try: http://gist.github.com/290689 If this would happen, jQuery.filter will be moved from traversing.js to core.js, I
  • Trigger shouldn't be recursive

    If trigger is going to follow how an event normally bubbles, shouldn't it calculate the parents before calling event handlers on each node. If the DOM changes, or an element gets removed, it won't bubble correctly. I realize this is optimized for stopPropagation, but it seems incorrect. I can submit a patch if this is something jQuery is interested in.
  • A Strategy for localizing jQuery UI plugins

    I have to support several locales for the jQuery UI plugins I am creating and am trying to think of a consistent way to support localization of numeral characters and any strings that may be embedded in the plugin. I think the mechanism I have in mind may be useful to the larger jQuery UI set of plugins. To clarify, this proposal is mean to support localization of numeral characters and strings embedded in a plugin, not dates or currency formats ($ 1.000,00  vs. 1,000.00) but it could conceivable
  • Documenting bound events as part of specifications

    Here is something we should do in the future, and where time is available, add for existing components: Document all the events that are bound as part of the functional specification, including details of event-object properties that are read. For example, Autocomplete binds, among various others, a keydown-event to the element, and checks the keyCode event property for various values. This could make code reviews much more effective, and even better yet, would server as documentation on how to script
  • Enhancement, allowing animateClass to affect other nodes.

    Right now the animateClass functionality is limited to only animating the node(s) you change the class on. I'd like the ability to use animateClass/switchClass/etc... in a way that affects other nodes. For example in the case of putting classes on the body to depict states that parts of the page is in (fairly common practice in flexible apps at times) I'd like to be able to have the change in class affect those other nodes. For example, pretending that there is a div in the page with an id of #sidebar
  • RAW Jquery plugins list

    Something like the API dump. It is possible?
  • Saving current HTML code source to file

    I'm new to js/jquery and this forum so please forgive my potentially off-scope js/jquery remarks. I've been running a lot of toggles to show, hide, etc... divs and other HTML elements. It's making my application incredibly nice navigation wise. Now to put myself in my users shoes. Say one user toggles on and off the things they want and don't want until they are satisfied with all the content of the screen. (That is by the way the nature of my application. A user loads in various variables via PHP
  • Proposal for delay(duration, [data,] callback [,postpone])

    I suggest to add a new signature for delay like delay(duration, [data,] callback [,postpone]), allowing to delay soe functionality on dom elements. And if calling .stop() before the duration passes, the callback would effectively be forgotten. It might seem a crazy idea, but consider the following situation: You would like to auto-save changes that user has made, but do not wan't to make too many AJAX requests. At the moment the code would look like something similar to: (and that is just the frame,
  • Leading and Trailing white space

       The simplest and fastest rx-es that work are /^[\s\xA0]+/ and /[\s\xA0]+$/  (thanks travis.hardiman)    jquery-1.4.1.js (arround line#3859 ) has : rleadingWhitespace = /^\s+/,   which is perhaps a bug because IE does not cover \u00A0, as a white-space    If I may suggest, introduction of :    rleadingWhitespace = /^[\s\xA0]+/,  rtrailingWhitespace = /[\s\xA0]+$ ,  somewhere at the top of jQuery enclosure, where all the jQuery wide, var's are declared.   to be used wherever required/needed.    This
  • Structuring a new plugin

    Hey, I'm in the process of developing a new plugin but the way I have structured the codes doesn't seem quite right to me so I'm hoping someone might be able to offer a better way to do it. The plugin itself has different behaviour if called on different types of elements (images, divs etc) with a range of shared functions used across all element types. This is the basic structure I have so far: (function ($) {    $.fn.editable = function (options) {       var defaults = {          // default value
  • New features for jQuery.browser class

    I added some new features in jQuery.browser class . I propose you to share it. I added the distinction between the browser chrome and safari and i added detection of browser language. Is this for you a good idea ? --------------------------------------------------------------------(for Jquery-1.4.js)-------------------------------------------------------- uaMatch: function( ua ) { var ret = { browser: "" }; ua = ua.toLowerCase(); if ( /chrome/.test( ua ) && !/compatible/.test( ua ) ) { ret = { browser:
  • image-rendering: optimizeQuality;

    How about adding this for the avatar images so they look a little better in Firefox? https://developer.mozilla.org/En/CSS/image-rendering And maybe even this for IE? -ms-interpolation-mode: bicubic; --Travis
  • Why isn't there a Plugin Authoring section in this forum?

    This is a major mistake. Please add that. There are folks like me who have to figure out how to enable instance chaining for method calls when making a plugin. I could not find any information on that on the web of any value. This is what I came up with and would like to get feedback on this forum: http://joonhachu.blogspot.com/2010_01_01_archive.html Please add this section as its a freakin' injustice not to have something for jQuery plugin authors to meet and discuss implementation style. You guys
  • ui.tabs AJAX error handling

    Hi, I am sure there is a big push for 1.8 final, but I am wondering if it would be possible to land this patch before the final version is released, or shortly thereafter for 1.8.1. It simply extends support of the ui.tabs AJAX loader to enable custom event handling in the cases when there is an error loading an ajax tab, similar to the custom handling already available for a successful AJAX load. The patch is on ticket 5070 in Trac (I would link to it here but the RTE’s link button seems to be broken).
  • Inline code

    Inline code formatting is standard in many editors on forums like this — there are a lot of times when it's handy to include a short snippet of code or function name in a sentence without breaking it up. Is that possible in this editor? If not, it'd be a nice feature.
  • RSS feed for the Plugins forge

    I'm not sure if this is the right forum, but to my mind there is no one that matches better. I would love to see a rss feed for the plugins forge..
  • In the Dialog, auto focus on first tabbable element should be a configuration option

    We have some Dialog windows that when opened we do not want any elements to be focused.  A good example of this is if we use textbox hints (text displayed in the textbox giving information on when that textbox does) in a dialog.  When the textbox is focused, it clears the hint.  When we open the dialog we would prefer it if the textbox hint was not cleared until the user selects the box. Technically there are other ways to get around this problem but it would be nice if an option was added indicating
  • jQuery should make Builders for both developers and regular web page designers

     I hope I am posting this to the correct jQuery forum.  I have long been an advocate of making Builders, for users of web tools (so totally uneducated and untrained people can ad dynamic content to web pages).  I am also an advocate of Builders for JS developers as well -- because it is one big way to simplify making dynamic stuff for web pages.  Examples of several of my Builders can be seen at http://mynichecomputing.org .  It is my hope that more people (jQuery people) will build Builders.
  • .live() types of events, number of events and more

    Hi, I've been away from the discussions for almost an year, and I'm hoping to contribute again. I've serched in the bug tracker for bugs that I could handle and found 2 related live bugs: #5804 - enhancement: .live('focus') proxys through to .live('focusin') #5801 - enhancement: support .live('hover',fn) After some tohgh I noted that live doesn't support binding multiple events at once. So I filled a new enhancement request (5852) and started a proposal to achieve the 3 at the same time. My initial
  • Get key-value pairs from serializeArray?

    serializeArray returns [{name:"foo",value:"bar"},{name:"baz",value:"bat"}] If a user simply wants key-value pairs that reflect the form's current state (as just came up in #jQuery) , he has to write the logic himself, and then doesn't get access to the useful tests that take place in the .filter() in serializeArray().  Or needs to .serialize() to a string and then parse that back out into an object, uggerz.  One could use something like Ben Alman's $.deparam to do that, too, however, I think it makes
  • A new jQuery Forum Forum?

    At least initially, it might be nice to have a forum specifically for problems/suggestions/etc for the new forum (and rest of the site?).    "Using jQuery" should really be reserved for actually using the jQuery library. _jason
  • XHR + Upload

    Hi folks Slowly the support of the html5 multiple file input is coming to the browsers, wouldn't it be great to  see some kind of support of the xmlHTTPRequestUpload object to jquery? (at least for the supporting browsers, that is 'eh) I mean, I just hate it to switch back and forth between beautiful, lovely jquery code and plain ol' ugly native javascript code. Regards, Fabian
  • uaMatch function browser order

    Hi there! Congratulations with the 1.4 release! Thank you for giving jQuery to the world of JavaScript lovers! I'm following the 14 days closely, so I don't miss out on anything. During the vidcast of John on Day 3 of the 14 days of jQuery (http://jquery14.com/day-03 ) I noticed the internal 'uaMatch' function for checking out the user agent strings. To my surprise I noticed that they aren't ordered based on the browser 'market share'. I would have expected to test first for IE, second Mozilla, third
  • New bug tracker for jQuery

    Maybe this is part of the "14 days of jQuery", in which case feel free to just wink at me. Now that we've got nice new forums, a nice new API browser, the code's resituated in GitHub, and John Resig's talking about crazy new bug-fixing workflows, shouldn't jQuery also have a new bug tracker? That Trac install has been showing its age for quite a while, and something like Lighthouse might be easier to manage from both the bug-submitter and developer standpoints.
  • 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