Just upgraded to the RC of IE9 and found that my web pages using jQuery Templates are not rendering the template content.
Pages work fine when I switch to IE8 Browser Mode in the Developer Tools (and Safari, FF开发者_Go百科, etc).
Anyone got any ideas?
There is now a RC version of jQuery v1.5 - here That should fix your problems with jQuery on IE9 RC. Full version of jQuery 1.5.1 is due to be released very soon.
The issue was caused by a bug in jQuery 1.5 when running on an IE9.
The only way to get this working is to wait until the release of jQuery 1.5.1
See: http://bugs.jquery.com/ticket/8052
Check your code for usage of .text(), .contents() and replace those with .html().
IE has problems with those functions, only reliable way to grab content seems to be .html(): http://www.bennadel.com/blog/1829-Script-Tags-jQuery-And-Html-Text-And-Contents-.htm
This problem has been fixed at latest version of jQuery. Upgrade to 1.5.1
It might be fixed but is still an issue via asp.net!
精彩评论