> But perhaps I'm misunderstanding you. Do you mean for there to just be a > JSON string inside the script tag? I've never used a script tag for > anything other than to tell an interpreter to parse and run the script > inside, be it javascript, php, VB or something like that. If you give it a > type of "text/x-jquery-json", would it be executed by default, or would it > (in a cross browser way) be ignored by built in parsers, and left for me to > do with what I will via some jQuery trickery? I'm curious about this now. > That could be very useful if it would be truly ignored and not risk throwing > of JS errors in the browser. Has anyone used something like this?
Paul - I've done stuff like this before (also in a secret project of mine, code-named jQuery2). Also, you may want to check out the plugin that I just posted in another thread (titled "jQuery Metadata Plugin"). This plugin is capable of seamlessly handling all the different metadata schemes that've been posted in this thread (thanks for reviving the discussion again!). --John _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
