JQuery 1.6.4 official version released!
This version is slightly improved compared with jQuery 1.6.3, including:
Data: The Data attribute names composed of "-" cannot be read by functions that use the camel naming method (each logical breakpoint in the function name is marked with an uppercase letter.
Event: fixed the issue where the $ ("form"). live ("submit", fn) Statement in IE8 was not triggered by <button type = "submit">.
- <script>
- $(function(){
- $('form').live("submit", function(){
- alert("before submit");
- });
- });
- </script>
- <form action="javascript:alert('submit!!!');">
- <input type="submit" value="submit by input">
- <button type="submit">submit by button</button>
- </form>
Upport: fixed the problem related to the mime type "application/XHTML + XML" in jQuery 1.6.3.
For more information, see: http://blog.jquery.com/2011/09/12/jquery-1-6-4-released/
: Http://code.jquery.com/jquery-1.6.4.js
Original article: http://www.iteye.com/news/22771