I’m converting some Flash on a site into Javascript/HTML — there are some sections where it’s calling PHP on a server and then processing the returned results with loadVariablesNum() —
loadVariablesNum("../flash_loadtext.php?id="+_root.curId,0);
The server returns text such as
%27Rizzo+Residence%27+by+Desai%2FChia+Architecture%3B+two+Marc+Jacobs%27+fashion+stores+in+London+and+Atlanta+by+Stephan+Jaklitsch+Design%3B+and+th
How can I process this in javascript (jQuery?) to make it useful for HTML/CSS? That is, what is a Javascript (jQuery?) equivalent to loadVariablesNum() ?
Thanks
You would have to “translate” this into the jQuery.ajax() syntax.
It looks like the response that comes back from the server is URI encoded somehow, so in the success callback you would have to decode that to use it in your page.
your call would turn into something like this (very simplified) in jQuery: