Possible Duplicate:
Pass a PHP string to a Javascript variable (including escaping newlines)
So I'm wondering if it's possible to access the data in a php variable, in a jquery/javascript script. Say I have a wordpress query/loop, that brings up a particular post from the database.
Then if I store that post in a php variable, is there any way I could reference that variable/post from within a javascript/script?