FloatLeft
FloatLeft

Reputation: 1337

jQuery Templates not working in IE9 RC

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, etc).

Anyone got any ideas?

Upvotes: 4

Views: 10359

Answers (5)

Patricia Marchand
Patricia Marchand

Reputation: 1

It might be fixed but is still an issue via asp.net!

Upvotes: 0

ezmilhouse
ezmilhouse

Reputation: 9121

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

Upvotes: 1

HasanG
HasanG

Reputation: 13161

This problem has been fixed at latest version of jQuery. Upgrade to 1.5.1

Upvotes: 0

Ryano
Ryano

Reputation: 2120

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.

Upvotes: 6

FloatLeft
FloatLeft

Reputation: 1337

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

Upvotes: 4

Related Questions