[jQuery] Re: jQuery.data and pre-rendered pages.
Ok, Thanks for the answer. On Aug 26, 3:08 pm, Mike Alsup [EMAIL PROTECTED] wrote: The problem is that i don't have access to the metadata plugin. So the question is still... is this possible with the built in function $.data? No, the data function does not extract data from the markup. data is a convenient way of getting and storing runtime state. You could write your own logic for extracting data from the markup using attr or hasClass for example..
[jQuery] Re: jQuery.data and pre-rendered pages.
The metadata plugin page describes several ways to do this: http://plugins.jquery.com/project/metadata Mike On Aug 26, 2:55 am, P. Skoog [EMAIL PROTECTED] wrote: Hi, Is it possible to store meta data in html-tags on the page without the help of jQuery. The problem I'm having is that I have an existing php-script rendering tables, and I really need to store meta data in each cell for later use by jQuery. Is this even possible? Thanks, Patrik Skoog
[jQuery] Re: jQuery.data and pre-rendered pages.
The problem is that i don't have access to the metadata plugin. So the question is still... is this possible with the built in function $.data? Patrik On Aug 26, 1:20 pm, Mike Alsup [EMAIL PROTECTED] wrote: The metadata plugin page describes several ways to do this: http://plugins.jquery.com/project/metadata Mike On Aug 26, 2:55 am, P. Skoog [EMAIL PROTECTED] wrote: Hi, Is it possible to store meta data in html-tags on the page without the help of jQuery. The problem I'm having is that I have an existing php-script rendering tables, and I really need to store meta data in each cell for later use by jQuery. Is this even possible? Thanks, Patrik Skoog
[jQuery] Re: jQuery.data and pre-rendered pages.
The problem is that i don't have access to the metadata plugin. So the question is still... is this possible with the built in function $.data? No, the data function does not extract data from the markup. data is a convenient way of getting and storing runtime state. You could write your own logic for extracting data from the markup using attr or hasClass for example..