here is a snippet
<body onload="LoadFunc(".<?CreateQuery()?>.")">
...
<?function CreateQuery()
{
...
return "string";
}
?>
What I'm basically doing is parsing the query string passed to the php page, then giving it to my js script
The onload gets called at the end of the loading of the php file, and thats when I need this done. I'm not getting an error but the function LoadFunc definitely doesn't execute.
I also did try the ="LoadFunc(".<?CreateQuery?>.")"> as
="LoadFunc(".<?CreateQuery();?>.")">
Thanks in advance for any advice.