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

--Erik
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to