I have a script which needs to have a value supplied to it dynamically:
jQuery('.myzebra-checkbox[value=*dynamic value here*]').attr('checked', true);
How can I
a) link to a php file
b) insert a returned value eg $foo
and do it in a secure, WordPress-friendly way?