• Prefill Forum select on new post

    I typically select a forum, then click on New Post. Write the post, click on Preview or Publish, then get nagged to select a Forum first. It makes sense to use the context of the selected forum to prefill that select element.
  • ui-icon files could be much smaller

    While the ThemeRoller was broken, I found some icons sitting around from a previous download with a different theme and edited the file in Gimp to have a single-color palette of the various colors required for my theme.  This technique resulted in files less than half the size of the original.  ui-icons_ffffff_256x240.png went from 4369 to 1936 bytes by this transformation. 
  • Default "post click" action for buttons

    I feel that the default behavior for an button on click (or more exactly, after a click) should be like following code:  button_object.click(function(){$(this).blur()}); i.e. that the button object shouldn't be marked as focused, as it's rather contrary what people expect, especially for icon buttons, like toolbar buttons. In a perfect world perhaps also last focused object before click should regain it's focus (dunno if that's possible)
  • Email Accounts for jQuery Meetup Groups

    Would it be possible for registered jQuery Meetup Groups to apply for an email account on the jQuery domain (e.g. jquerywgtn@jquery.com)? Currently, setting up an email account requires someone (typically the group creator) to create one using a general provider such as GMail, Hotmail or a custom account on their own registered domain. A jQuery domain email account would not only look more professional, but provide a common and easily-identified communication vehicle for the group and provide a consistent
  • How to remove body inline css

    var s = document.body.style.cssText.match(/[\w|-]+:/gim); jQuery.each(s, function (key, value) {     var s2 = value.replace(/(-)(\w)/gim, value.match(/-\w/gim)[0].toUpperCase());     eval('document.body.style.' + s2.replace(/[-|:]/gim, '') + " = '';"); }); That's how to remove body inline css by me.
  • [Date Picker] date/altFormat: w (week number of selected day) ww (same zero fill)

    Hello, The need for a week number + year came from a project with a client, where users had to enter the year and the week number to get their week data. I had to hack the date picker plugin to get the current iso 8601 week number (dateFormat) and the year (altFormat) of the day selected but i'm not javascipt coder.. (i can post the hack if you ask me). It would be a little addition that doesn't require mutch work I think ? sorry for the english.. regards, houba
  • Localize the datepicker calendar language and format for Tamil (ta)

    /* Tamil (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by S A Sureshkumar (saskumar@live.com). */ jQuery(function($){ $.datepicker.regional['ta'] = { clearText: 'அழி', clearStatus: '', closeText: 'மூடு', closeStatus: '', prevText: 'முன்னையது',  prevStatus: '', prevBigText: '<<', prevBigStatus: '', nextText: 'அடுத்தது', nextStatus: '', nextBigText: '>>', nextBigStatus: '', currentText: 'இன்று', currentStatus: '', monthNames: ['தை','மாசி','பங்குனி','சித்திரை','வைகாசி','ஆனி',
  • Objects with toString work in html, append, etc

    It might be nice to do something like: Dog = function(){} Dog.prototype.toString = function(){ return "woof"} dog = new Dog() $("#foo").html(dog) This can be solved super easy, I just feel like this would already work if it was meant to.
  • outerHeight(int) sets the height taking into account padding and border

    I'm often wanting to set the outerHeight of an element.  Currently I have to figure out manually the padding and border to make sure I am setting the height() correctly.   Would jQuery accept a patch that by providing an integer height to outerHeight, it will set the height.  The idea is if you should be able to do: $foo.outerHeight(  $bar.outerHeight() ) And no matter what border / padding $foo might have, it will still look the same size as $bar. I bet this is a rather common problem and will add
  • Use JS hack-reference to improve speed

    Hello! I found on "wtfjs.com" a method to do JS-reference, as the & in php. MAYBE this can improve JS. This is the basic idea: function x(object){   // I need re-use object on another method   reUse(object); // I suppose that JS copy object to reUse function   console.log(object);   // Here is different, JS will pass a reference of object, but it's strange...   reUseAgain(arguments);   console.log(object); }   function reUse(object){   object = 1; }   function reUseAgain(object){   object[0] = 1;
  • A suggestion to facilitate computed values and automatic repainting in plugin components

    Not sure if this functionality is already available but... If a plugin component has defined getValue() and setValue() methods and the core jQuery.val([value]) method delegates to those accessor methods (if they exist), then a component can support computed values and automatic repainting like the HTML form fields do.
  • Autocomplete and Enter Key

    It'd be nice to have a settable option for the enter key on the Autocomplete. In the code, it's set to swallow the enter key, but in fact, the behavior I want is to fill the box and submit simultaneously - similarly to the way Google Suggest does it.
  • Remove Accordion focus/blur()

    There is a comment in the source on line 411 that asks the questions: // TODO assert that the blur and focus triggers are really necessary, remove otherwise I for one would say remove that stuff, or move it to the click handler at least. It causes issues with auto-rotating the accordion. If the next topic is below the viewport it will automatically scroll down, which is expected. Also a weird bug in FF that if you are on another tab and the next topic is focused it FF will switch back to that tab.
  • autocomplete should expose "ui.items" on "open" event

    It would be great if the "open" event would pass information about the menu as a parameter.
  • Jquery UI Ribbon Toolbar request

    I need Menus, Toolbars and Ripponbars in all my web projects. But this widgets are not included in the jquery ui lib. Is there any plan to provide more jquery witgets? RibbonToolbar will be fine!!! thx GamBit
  • Sortable Plugin: Get the handle in event callbacks

    Finally getting around to asking about the issue that was brought in this question on stack overflow.  This answer is mine and illustrates my issue. http://stackoverflow.com/questions/947195/jquery-ui-sortable-how-can-i-cancel-the-click-event-on-an-item-thats-dragged/2055201#2055201 Basically in the sortable event handlers you get the ui object that surfaces some useful items such as placeholder, sender, etc.  But in some cases it's also useful to be able to get the handle.  My question is would
  • creating elements - arguments

    Hi, I might be missing something, and apologies in advance if I am, but it seems at the moment to create elements the syntax is something like $("<tagname>", props); I was wondering if it was possible to change it to something like $("<tagname>", content, props) content being a string ... or possibly even another jquery object so that it would be possible to do the following: $("<p>", "Hello World") or $("<div>",         $("<a>", "jQuery").attr("href", "http://www.jquery.com/") ).addClass("something");
  • Not Contain selector?

    I have read the documented jQuery api and have found that there is the following selectors: Contains (name*=value) Contains Word (name~=value) Equals (name=value) Not Equal (name!=value) Is there some sort of "Not Contain" or "Not Contain Word"? If there is, it is not documented, and name!~=value or name!*=value does not seem to work. Currently I am trying to select all the div's in my document, but exclude div's with a certain class specified. Naturally one would assume Not Equal (class!=value)
  • +1 for digest mode

    +1 for digest mode
  • RequireJS as a require() for jQuery

    I would like to offer a require() function as provided in RequireJS as a script loader for jQuery. While RequireJS can be used today without integration into jQuery core, there are benefits with integrating RequireJS, similar to how Sizzle is integrated, with jQuery core: export jQuery as a module to be used by the module system supported by RequireJS The "baseUrl" to find all scripts would be relative to jquery.js more robust handling of async scripts that should be loaded before jQuery.ready()
  • remove cruft from emails

    I really appreciate the email notifications that have started coming through in the past few days. It really helps me scan through the enormous number of messages and replies that are posted on the jQuery Forum every day. I was wondering if someone from the Zoho team could take a look at streamlining the email message body a bit. It would make scanning them even quicker. Currently the message body begins with something like this: Hi kswedberg, [somebody] has made a new post titled [Lorem Ipsum].
  • plugin idea: character group sliding

    hi people, i am new to jquery but it already made my thoughts spinning around what cool stuff can be done using jquery. i have the idea for an animation that i intermediarily call "character group sliding". what it does is, sliding out characters of a string, which initially sit on top of each other, into their correct position on the screen. or vice versa, folding a string into chracters which sit on top of each other. eg. the string "12345". initially the characters would sit on top of each other
  • Themeroller shouldn't generate images if user chooses flat background

    When choosing a flat background css should be like:         background-color: #c0c0c0; and not:         background: #c0c0c0 url(images/ui-bg_flat_100_c0c0c0_40x100.png) 50% 50% repeat-x;
  • Comment warning on api.jquery.com

    There is a big warning at the top of the comment area for api.jquery.com but it seems like it would make more sense to ask people what they are doing when they comment and either send them to that place or automatically take that action with their posting. The big warning feels like the possible integration was avoided. Warning reads as follows currently: Support requests, bug reports, and off-topic comments will be deleted without warning. Please do post corrections or additional examples for [current
  • addDefault

    After talking w/ Yehuda, we came up with the idea of allowing people to provide default actions on triggered events.    I discuss it a little on JMVC's forum. http://groups.google.com/group/javascriptmvc/browse_thread/thread/4d5ae9c61f3817f0 But here's what it looks like essentially: //imagine some plugin wanting to provide default functionality on a "hide" event. $(".tab").bind("hide", function(ev){            var el = this;            ev.addDefault(function(){                    $(el).hide()   
  • Further Decoupling Sizzle and jQuery

    Would it be possible to have a build option that would build sizzle.js and jquery.js as separate, independent files? I would like to have a version of jQuery that depends on, but does not embed, the stock sizzle.js. This is currently not possible because jQuery modifies the embedded sizzle.js in order to tack some utility methods onto the jQuery namespace. Currently I have to update both jQuery and Sizzle in order to have a jquery.js that the depends on Sizzle: I update Sizzle's EXPOSE from: // EXPOSE
  • Fix AJAX methods for autoloading XML under IE6/7 (local filesystem, or content-types ending in +xml)

    In jQuery 1.4.1, line 5185:         var ct = xhr.getResponseHeader("content-type") || "",             xml = type === "xml" || !type && ct.indexOf("xml") >= 0,             data = xml ? xhr.responseXML : xhr.responseText;         if ( xml && data.documentElement.nodeName === "parsererror" ) {             jQuery.error( "parsererror" );         } Under IE7, when running an HTML document locally, and retrieveing an XML resource in the same folder with XMLHttpRequest, the XML is not automatically parsed,
  • $.inObject

    I think it would be convenient to have a method for testing whether or not a value exists in an object (of course you can use the long-hand version of this, but this seems more intuitive, especially when an inArray function exists):     $.inObject = function(object, value) {         return (typeof object[value] === 'undefined' ? false : true);     };
  • proposed fix for #6050

    http://dev.jquery.com/ticket/6050 line 46 in attributes.js: from: elem.className += " " + classNames[c]; to: elem.className += (elem.className === "" ? "" : " ") + classNames[c]; Leon
  • quicksearch plug-in

    Hi guys, Just thought I'd let you know that I've completely revamped my jQuery plug-in, quicksearch. There's some example pages up here: http://lomalogue.com/jquery/quicksearch/ http://lomalogue.com/jquery/quicksearch/super_table.html And there's more information on Github: http://github.com/riklomas/quicksearch/ Any comments would be greatly received! Rik
  • isEmptyObject()

    I shall be so bold, to suggest slightly improved isEmptyObject() ... /*  currently in jQuery  isEmptyObject : function(obj) {             for (var name in obj) {                 return false;             }             return true;         } , */ /*    return undefined on any object that is not "object" or "function"    also ignore the possible prototype chain */ // slightly improved isEmptyObject : function (object) {     if (typeof object !== 'object' && typeof object !== 'function') return ;   
  • (treeview) Using Treeview within a <div>

    Ran into a small problem w/ treeview, in that the labels next to the icons would display on the next line when viewed in IE 7.  The problem was that the div containing my tree wasn't large enough to display the entire title.  Expanding the div's width takes care of the problem. Hope this helps someone out there, as I saw a few others with the same problem.
  • Make it possible to return other elements

    Hi, I am trying to make a jquery ui widget that can be used together with other things, example of what I want to do: $('#droppable').mywidget().droppable({drop: function() { alert('Something dropped"); }); My widget: $.widget('ui.mywidget', { _init: function() { $('<div></div>').insertAfter($(this.element)); } }); Unfortunatly, this only makes the original #droppable droppable and not what was inserted extra. What would be nice is if the widget could return what elements should be continued to be
  • Plugin support for themeroller

    I would like to see support in themeroller for plugins to define their own UI elements that the user can then style using themeroller, in addition to the standard framework styles. For example, look at the demo for the data tables plugin at: http://www.datatables.net/styling/themes This plugin supports theme roller but the plugin uses additional styles that are not covered by the CSS framework - e.g. the odd/even band colours for the rows of the table. I would like to see an enhancement to themeroller
  • Pining for a mailing list interface to the forum

    I see the benefits of moving to a forum and could really get to love the searching, archiving, and thread metadata that this place offers over Google Groups, but one feature I'm pining after is the mailing list interface. I'm used to having my own copy of the list archives, being able to scan through topics offline, track what I've read, and read from and write to the list from my mail editor of choice. I would love to be able to get the full text of every message post by email and be able to respond
  • Include text fields, checks, radios and combos with TR themes

    You've about everything else there, why not these things? They are, after all, ubiquitous elements of web sites...
  • Attach ui.autocomplete searching event on propertychange/input instead of keydown

    Why not use the onpropertychange(msie)/oninput(firefox) event to catch content changing in autocomplete plugin, so that it can fire the search event on content changed by other event like paste from clipboard or chinese input method? Now I map the event to keydown manual outside the control :             if ($.browser.msie) ele.onpropertychange = function() {                 $(ele).trigger("keydown");             };             else ele.addEventListener("input", function() {                 $(ele).trigger("keydown");
  • autocomplete with search params dynamic

     autocomplete with   search params dynamic  ??
  • Issue with replaceWith...

    Hi, I recently ran into an issue with the replaceWith function. This function currently does  this.after( value ).remove(); when it tries to insert the value after the current node there are duplicate elements in the DOM (note the old element hasnt been removed yet). If my new content has any inline script elements that are trying to manipulate the content, then it manipulates the old content in the DOM and not the new content since the old content precedes the new content in the DOM. I would like
  • Change th return of Widgets in UI.

    I know this idea is a bit far out, but I belive the syntax for working with widgets in Jquery UI is 'strange'.. $("#id").dialog({autoOpen:false}); to open this dialog now i have to do the call once more... $("#id").dialog('open'); i belive i would be better if we could do something like this..  var diag = $("#id").dialog({autoOpen:false}); diag.open(); What do you guys think...
  • 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