The nested script element approach doesn't appear to work in IE6. Is this
a know issue?
jQuery.meta.setType(elem, script);
alert($('#fooID').get(0).foo);
div id=fooID
script type=application/json{foo: 'bar'}/script
Some text.
/div
I get undefined from the alert. The other
I get undefined from the alert. The other approaches work, and this
approach works fine in FF. I also tried the single data approach. The data
object exists, but doesn't have my meta properties.
Found a fix. I can't commit it, looks like John's server disk is full (disk
quota exceeded).
Try committing it again - I fixed the issues with the server.
--John
On 11/27/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
I get undefined from the alert. The other approaches work, and this
approach works fine in FF. I also tried the single data approach. The data
object exists, but
The nested script element approach doesn't appear to work in IE6. Is this a
know issue?
jQuery.meta.setType(elem, script);
alert($('#fooID').get(0).foo);
div id=fooID
script type=application/json{foo: 'bar'}/script
Some text.
/div
I get undefined from the alert. The other approaches work,