Re: [jQuery] jQuery 1.0.4 Released
Hey John... In the API docs, is there any reason why EVERY one of the listings has the word jQuery before it? Isn't that rather redundant? !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Resig Sent: Tuesday, December 12, 2006 7:44 PM To: jQuery Discussion. Subject: [jQuery] jQuery 1.0.4 Released Hi Everyone - Another fantastic release of jQuery is ready for your consumption. This release includes a number of bug fixes (as usual) along with some much-needed improvements to jQuery's Ajax functionality. As always, if you have any questions or concerns with new release, please feel free to discuss it on the mailing list. If you think you've spotted a bug, please add it to the bug tracker (http://jquery.com/dev/bugs/new/). So, without further ado, here's jQuery 1.0.4: Download - Compressed JavaScript (Recommended Download!) http://jquery.com/src/jquery-1.0.4.pack.js - Uncompressed JavaScript http://jquery.com/src/jquery-1.0.4.js - 1.0.4 Documentation http://jquery.com/api/ - 1.0.4 Test Suite http://jquery.com/test/ - Full Release (jQuery, Test Suite, Documentation) http://jquery.com/src/jquery-1.0.4.release.zip - Build Files (Compile your own version of jQuery 1.0.4) http://jquery.com/src/jquery-1.0.4.build.zip Changes and Features - Tons of bug fixes Full List: http://jquery.com/dev/bugs/10/?sort=ticketasc=0 - Extensions to $.ajax(): $.ajax accepts additional options: beforeSend, async and processData; returns XMLHttpRequest to allow manual aborting of requests, see docs for details. Example: Add extra headers to an Ajax request using beforeSend $.ajax({ type: POST, url: /files/add/, beforeSend: function(xhr) { xhr.setRequestHeader( Content-type, text/plain ); }, data: This is the contents of my text file. }); Example: Perform a synchronous Ajax request. // Get the HTML of a web page and save it // to a variable (the browser will freeze until the // entire request is completed). var html = $.ajax({ type: GET, url: test.html, async: false }).responseText; // Add the HTML into the page $(#list).html( html ); Example: Sending a JavaScript object using processData. // The data to send to the server var params = { name: John, city: Boston }; $.ajax({ type: POST, url: /user/add/, processData: params }); Example: Aborting an Ajax request after a specific delay in time. // Perform a simple Ajax request var req = $.ajax({ type: GET, url: /user/list/, success: function(data) { // Do something with the data... // Then remove the request. req = null; } }); // Wait for 5 seconds setTimeout(function(){ // If the request is still running, abort it. if ( req ) req.abort(); }, 5000); - AJAX module: The public $.ajax API is now used internally (for $.get/$.post etc.); loading scripts works now much more reliably in all browsers (with the exception of Safari, which is a work in progress). - New global Ajax handler: ajaxSend - called before an Ajax request is sent. Example: Add extra headers to all Ajax requests using the ajaxSend event. $(document).ajaxSend(function(xhr){ xhr.setRequestHeader(X-Web-Request, MySite.com); }); Extensions to global Ajax handlers: ajaxSend, ajaxSuccess, ajaxError and ajaxComplete get XMLHttpRequest and settings passed as arguments. Example: Prevent any POST requests that are sending too much data. $(document).ajaxSend(function(xhr,options){ if ( options.type == POST options.data.length 1024 ) xhr.abort(); }); Example: Show a special message for requests submitted using an Ajax POST. $(#dataSent).ajaxSend(function(xhr,options){ if ( options.type == POST ) $(this).show(); }); Extensions to event handling: pageX and pageY are available in all browsers now. (IE does not provide native pageX/Y). Example: Have a tooltip follow a user's mouse around the page. $(document).mousemove(function(e){ $(#mousetip).css({ top: e.pageY + px, left: e.pageX + px }); }); Improved docs: $(String) method has now two separate descriptions, one for selecting elements, one for creating html on-the-fly. FX module: Most inline styles added by animations are now removed when the animation is complete, eg. height style when animating height (exception: display styles). (This message can also be found here: http://jquery.com/blog/2006/12/12/jquery-104/) --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.0.4 Released
Andy Matthews schrieb: Hey John... In the API docs, is there any reason why EVERY one of the listings has the word jQuery before it? Isn't that rather redundant? That is how you know if a method is chainable or not. As most methods are it may seem redundant at first glance, but it isn't of course. -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.0.4 Released
I see now...apologies. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Klaus Hartl Sent: Wednesday, December 13, 2006 8:25 AM To: jQuery Discussion. Subject: Re: [jQuery] jQuery 1.0.4 Released Andy Matthews schrieb: Hey John... In the API docs, is there any reason why EVERY one of the listings has the word jQuery before it? Isn't that rather redundant? That is how you know if a method is chainable or not. As most methods are it may seem redundant at first glance, but it isn't of course. -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.0.4 Released
Is there a changelog? John Resig wrote: Hi Everyone - Another fantastic release of jQuery is ready for your consumption. This release includes a number of bug fixes (as usual) along with some much-needed improvements to jQuery's Ajax functionality. As always, if you have any questions or concerns with new release, please feel free to discuss it on the mailing list. If you think you've spotted a bug, please add it to the bug tracker (http://jquery.com/dev/bugs/new/). So, without further ado, here's jQuery 1.0.4: Download - Compressed JavaScript (Recommended Download!) http://jquery.com/src/jquery-1.0.4.pack.js - Uncompressed JavaScript http://jquery.com/src/jquery-1.0.4.js - 1.0.4 Documentation http://jquery.com/api/ - 1.0.4 Test Suite http://jquery.com/test/ - Full Release (jQuery, Test Suite, Documentation) http://jquery.com/src/jquery-1.0.4.release.zip - Build Files (Compile your own version of jQuery 1.0.4) http://jquery.com/src/jquery-1.0.4.build.zip Changes and Features - Tons of bug fixes Full List: http://jquery.com/dev/bugs/10/?sort=ticketasc=0 - Extensions to $.ajax(): $.ajax accepts additional options: beforeSend, async and processData; returns XMLHttpRequest to allow manual aborting of requests, see docs for details. Example: Add extra headers to an Ajax request using beforeSend $.ajax({ type: POST, url: /files/add/, beforeSend: function(xhr) { xhr.setRequestHeader( Content-type, text/plain ); }, data: This is the contents of my text file. }); Example: Perform a synchronous Ajax request. // Get the HTML of a web page and save it // to a variable (the browser will freeze until the // entire request is completed). var html = $.ajax({ type: GET, url: test.html, async: false }).responseText; // Add the HTML into the page $(#list).html( html ); Example: Sending a JavaScript object using processData. // The data to send to the server var params = { name: John, city: Boston }; $.ajax({ type: POST, url: /user/add/, processData: params }); Example: Aborting an Ajax request after a specific delay in time. // Perform a simple Ajax request var req = $.ajax({ type: GET, url: /user/list/, success: function(data) { // Do something with the data... // Then remove the request. req = null; } }); // Wait for 5 seconds setTimeout(function(){ // If the request is still running, abort it. if ( req ) req.abort(); }, 5000); - AJAX module: The public $.ajax API is now used internally (for $.get/$.post etc.); loading scripts works now much more reliably in all browsers (with the exception of Safari, which is a work in progress). - New global Ajax handler: ajaxSend - called before an Ajax request is sent. Example: Add extra headers to all Ajax requests using the ajaxSend event. $(document).ajaxSend(function(xhr){ xhr.setRequestHeader(X-Web-Request, MySite.com); }); Extensions to global Ajax handlers: ajaxSend, ajaxSuccess, ajaxError and ajaxComplete get XMLHttpRequest and settings passed as arguments. Example: Prevent any POST requests that are sending too much data. $(document).ajaxSend(function(xhr,options){ if ( options.type == POST options.data.length 1024 ) xhr.abort(); }); Example: Show a special message for requests submitted using an Ajax POST. $(#dataSent).ajaxSend(function(xhr,options){ if ( options.type == POST ) $(this).show(); }); Extensions to event handling: pageX and pageY are available in all browsers now. (IE does not provide native pageX/Y). Example: Have a tooltip follow a user's mouse around the page. $(document).mousemove(function(e){ $(#mousetip).css({ top: e.pageY + px, left: e.pageX + px }); }); Improved docs: $(String) method has now two separate descriptions, one for selecting elements, one for creating html on-the-fly. FX module: Most inline styles added by animations are now removed when the animation is complete, eg. height style when animating height (exception: display styles). (This message can also be found here: http://jquery.com/blog/2006/12/12/jquery-104/) --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.0.4 Released
Happy dance, happy dance. Thank you all for this. Your efforts are truly appreciated. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Resig Sent: Tuesday, December 12, 2006 5:44 PM To: jQuery Discussion. Subject: [jQuery] jQuery 1.0.4 Released Hi Everyone - Another fantastic release of jQuery is ready for your consumption. This release includes a number of bug fixes (as usual) along with some much-needed improvements to jQuery's Ajax functionality. As always, if you have any questions or concerns with new release, please feel free to discuss it on the mailing list. If you think you've spotted a bug, please add it to the bug tracker (http://jquery.com/dev/bugs/new/). So, without further ado, here's jQuery 1.0.4: Download - Compressed JavaScript (Recommended Download!) http://jquery.com/src/jquery-1.0.4.pack.js - Uncompressed JavaScript http://jquery.com/src/jquery-1.0.4.js - 1.0.4 Documentation http://jquery.com/api/ - 1.0.4 Test Suite http://jquery.com/test/ - Full Release (jQuery, Test Suite, Documentation) http://jquery.com/src/jquery-1.0.4.release.zip - Build Files (Compile your own version of jQuery 1.0.4) http://jquery.com/src/jquery-1.0.4.build.zip Changes and Features - Tons of bug fixes Full List: http://jquery.com/dev/bugs/10/?sort=ticketasc=0 - Extensions to $.ajax(): $.ajax accepts additional options: beforeSend, async and processData; returns XMLHttpRequest to allow manual aborting of requests, see docs for details. Example: Add extra headers to an Ajax request using beforeSend $.ajax({ type: POST, url: /files/add/, beforeSend: function(xhr) { xhr.setRequestHeader( Content-type, text/plain ); }, data: This is the contents of my text file. }); Example: Perform a synchronous Ajax request. // Get the HTML of a web page and save it // to a variable (the browser will freeze until the // entire request is completed). var html = $.ajax({ type: GET, url: test.html, async: false }).responseText; // Add the HTML into the page $(#list).html( html ); Example: Sending a JavaScript object using processData. // The data to send to the server var params = { name: John, city: Boston }; $.ajax({ type: POST, url: /user/add/, processData: params }); Example: Aborting an Ajax request after a specific delay in time. // Perform a simple Ajax request var req = $.ajax({ type: GET, url: /user/list/, success: function(data) { // Do something with the data... // Then remove the request. req = null; } }); // Wait for 5 seconds setTimeout(function(){ // If the request is still running, abort it. if ( req ) req.abort(); }, 5000); - AJAX module: The public $.ajax API is now used internally (for $.get/$.post etc.); loading scripts works now much more reliably in all browsers (with the exception of Safari, which is a work in progress). - New global Ajax handler: ajaxSend - called before an Ajax request is sent. Example: Add extra headers to all Ajax requests using the ajaxSend event. $(document).ajaxSend(function(xhr){ xhr.setRequestHeader(X-Web-Request, MySite.com); }); Extensions to global Ajax handlers: ajaxSend, ajaxSuccess, ajaxError and ajaxComplete get XMLHttpRequest and settings passed as arguments. Example: Prevent any POST requests that are sending too much data. $(document).ajaxSend(function(xhr,options){ if ( options.type == POST options.data.length 1024 ) xhr.abort(); }); Example: Show a special message for requests submitted using an Ajax POST. $(#dataSent).ajaxSend(function(xhr,options){ if ( options.type == POST ) $(this).show(); }); Extensions to event handling: pageX and pageY are available in all browsers now. (IE does not provide native pageX/Y). Example: Have a tooltip follow a user's mouse around the page. $(document).mousemove(function(e){ $(#mousetip).css({ top: e.pageY + px, left: e.pageX + px }); }); Improved docs: $(String) method has now two separate descriptions, one for selecting elements, one for creating html on-the-fly. FX module: Most inline styles added by animations are now removed when the animation is complete, eg. height style when animating height (exception: display styles). (This message can also be found here: http://jquery.com/blog/2006/12/12/jquery-104/) --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.0.4 Released
Peter Bengtsson schrieb: Is there a changelog? There is a newandnoteworthy.txt in SVN. It is not the same as a changelog, as it doesn't cover bugs like typos, missing characters etc. -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery 1.0.4 Released
Hi Everyone - Another fantastic release of jQuery is ready for your consumption. This release includes a number of bug fixes (as usual) along with some much-needed improvements to jQuery's Ajax functionality. As always, if you have any questions or concerns with new release, please feel free to discuss it on the mailing list. If you think you've spotted a bug, please add it to the bug tracker (http://jquery.com/dev/bugs/new/). So, without further ado, here's jQuery 1.0.4: Download - Compressed JavaScript (Recommended Download!) http://jquery.com/src/jquery-1.0.4.pack.js - Uncompressed JavaScript http://jquery.com/src/jquery-1.0.4.js - 1.0.4 Documentation http://jquery.com/api/ - 1.0.4 Test Suite http://jquery.com/test/ - Full Release (jQuery, Test Suite, Documentation) http://jquery.com/src/jquery-1.0.4.release.zip - Build Files (Compile your own version of jQuery 1.0.4) http://jquery.com/src/jquery-1.0.4.build.zip Changes and Features - Tons of bug fixes Full List: http://jquery.com/dev/bugs/10/?sort=ticketasc=0 - Extensions to $.ajax(): $.ajax accepts additional options: beforeSend, async and processData; returns XMLHttpRequest to allow manual aborting of requests, see docs for details. Example: Add extra headers to an Ajax request using beforeSend $.ajax({ type: POST, url: /files/add/, beforeSend: function(xhr) { xhr.setRequestHeader( Content-type, text/plain ); }, data: This is the contents of my text file. }); Example: Perform a synchronous Ajax request. // Get the HTML of a web page and save it // to a variable (the browser will freeze until the // entire request is completed). var html = $.ajax({ type: GET, url: test.html, async: false }).responseText; // Add the HTML into the page $(#list).html( html ); Example: Sending a JavaScript object using processData. // The data to send to the server var params = { name: John, city: Boston }; $.ajax({ type: POST, url: /user/add/, processData: params }); Example: Aborting an Ajax request after a specific delay in time. // Perform a simple Ajax request var req = $.ajax({ type: GET, url: /user/list/, success: function(data) { // Do something with the data... // Then remove the request. req = null; } }); // Wait for 5 seconds setTimeout(function(){ // If the request is still running, abort it. if ( req ) req.abort(); }, 5000); - AJAX module: The public $.ajax API is now used internally (for $.get/$.post etc.); loading scripts works now much more reliably in all browsers (with the exception of Safari, which is a work in progress). - New global Ajax handler: ajaxSend - called before an Ajax request is sent. Example: Add extra headers to all Ajax requests using the ajaxSend event. $(document).ajaxSend(function(xhr){ xhr.setRequestHeader(X-Web-Request, MySite.com); }); Extensions to global Ajax handlers: ajaxSend, ajaxSuccess, ajaxError and ajaxComplete get XMLHttpRequest and settings passed as arguments. Example: Prevent any POST requests that are sending too much data. $(document).ajaxSend(function(xhr,options){ if ( options.type == POST options.data.length 1024 ) xhr.abort(); }); Example: Show a special message for requests submitted using an Ajax POST. $(#dataSent).ajaxSend(function(xhr,options){ if ( options.type == POST ) $(this).show(); }); Extensions to event handling: pageX and pageY are available in all browsers now. (IE does not provide native pageX/Y). Example: Have a tooltip follow a user's mouse around the page. $(document).mousemove(function(e){ $(#mousetip).css({ top: e.pageY + px, left: e.pageX + px }); }); Improved docs: $(String) method has now two separate descriptions, one for selecting elements, one for creating html on-the-fly. FX module: Most inline styles added by animations are now removed when the animation is complete, eg. height style when animating height (exception: display styles). (This message can also be found here: http://jquery.com/blog/2006/12/12/jquery-104/) --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.0.4 Released
Congratulations on this. I can honestly say that jQuery has literally revolutionized the way I write javascript. I had played around with prototype/behaviour, and was just about to start using it on a big project when I came across jQuery. I really can't imagine the nightmare that it would have been had we not had jQuery. You can expect a Christmas bonus from us in the next few days. --Erik On 12/12/06, John Resig [EMAIL PROTECTED] wrote: Hi Everyone - Another fantastic release of jQuery is ready for your consumption. This release includes a number of bug fixes (as usual) along with some much-needed improvements to jQuery's Ajax functionality. As always, if you have any questions or concerns with new release, please feel free to discuss it on the mailing list. If you think you've spotted a bug, please add it to the bug tracker (http://jquery.com/dev/bugs/new/). So, without further ado, here's jQuery 1.0.4: Download - Compressed JavaScript (Recommended Download!) http://jquery.com/src/jquery-1.0.4.pack.js - Uncompressed JavaScript http://jquery.com/src/jquery-1.0.4.js - 1.0.4 Documentation http://jquery.com/api/ - 1.0.4 Test Suite http://jquery.com/test/ - Full Release (jQuery, Test Suite, Documentation) http://jquery.com/src/jquery-1.0.4.release.zip - Build Files (Compile your own version of jQuery 1.0.4) http://jquery.com/src/jquery-1.0.4.build.zip Changes and Features - Tons of bug fixes Full List: http://jquery.com/dev/bugs/10/?sort=ticketasc=0 - Extensions to $.ajax(): $.ajax accepts additional options: beforeSend, async and processData; returns XMLHttpRequest to allow manual aborting of requests, see docs for details. Example: Add extra headers to an Ajax request using beforeSend $.ajax({ type: POST, url: /files/add/, beforeSend: function(xhr) { xhr.setRequestHeader( Content-type, text/plain ); }, data: This is the contents of my text file. }); Example: Perform a synchronous Ajax request. // Get the HTML of a web page and save it // to a variable (the browser will freeze until the // entire request is completed). var html = $.ajax({ type: GET, url: test.html, async: false }).responseText; // Add the HTML into the page $(#list).html( html ); Example: Sending a JavaScript object using processData. // The data to send to the server var params = { name: John, city: Boston }; $.ajax({ type: POST, url: /user/add/, processData: params }); Example: Aborting an Ajax request after a specific delay in time. // Perform a simple Ajax request var req = $.ajax({ type: GET, url: /user/list/, success: function(data) { // Do something with the data... // Then remove the request. req = null; } }); // Wait for 5 seconds setTimeout(function(){ // If the request is still running, abort it. if ( req ) req.abort(); }, 5000); - AJAX module: The public $.ajax API is now used internally (for $.get/$.post etc.); loading scripts works now much more reliably in all browsers (with the exception of Safari, which is a work in progress). - New global Ajax handler: ajaxSend - called before an Ajax request is sent. Example: Add extra headers to all Ajax requests using the ajaxSend event. $(document).ajaxSend(function(xhr){ xhr.setRequestHeader(X-Web-Request, MySite.com); }); Extensions to global Ajax handlers: ajaxSend, ajaxSuccess, ajaxError and ajaxComplete get XMLHttpRequest and settings passed as arguments. Example: Prevent any POST requests that are sending too much data. $(document).ajaxSend(function(xhr,options){ if ( options.type == POST options.data.length 1024 ) xhr.abort(); }); Example: Show a special message for requests submitted using an Ajax POST. $(#dataSent).ajaxSend(function(xhr,options){ if ( options.type == POST ) $(this).show(); }); Extensions to event handling: pageX and pageY are available in all browsers now. (IE does not provide native pageX/Y). Example: Have a tooltip follow a user's mouse around the page. $(document).mousemove(function(e){ $(#mousetip).css({ top: e.pageY + px, left: e.pageX + px }); }); Improved docs: $(String) method has now two separate descriptions, one for selecting elements, one for creating html on-the-fly. FX module: Most inline styles added by animations are now removed when the animation is complete, eg. height style when animating height (exception: display styles). (This message can also be found here: http://jquery.com/blog/2006/12/12/jquery-104/) --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.0.4 Released
So, without further ado, here's jQuery 1.0.4: Fantastic! Thanks, John. And special thanks to Jörn for this tireless efforts and to Brandon as well. You guys are really doing great work. Mike ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.0.4 Released
I'm new to JQuery, but so far, it's out of this world! ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/