function callback() {
setTimeout(‘ajaxRequest()’ ,10);
}
function delay_ajax() {
ajaxRequest(‘parse.php’, ‘val=’+$F(‘myval’));
}
and, of course:
… but didn’t work also :( Any help?!
]]>if(isset($_GET[�val�])) { echo �You entered: �.$_GET[�val�]; }
It seems like PHP isn’t parsing the script. I know PHP is working because php phpinfo() works fine. Any suggestions? I’m sure it’s a PHP problem but I’m not sure how to continue.
]]>I’m not to sure why you get this error. If possible can you run it with FF2 with the Firebug extension? this will give you a better indication of where exactly the error is coming from.
Also, I do not know if this makes any difference, but try changing the ` (funny single quotes which wordpress generates) to proper single quotes. Sometime wordpress changes the code a little.
Finally you could take out the F() function, and place:
< input type="button" value="GO" onClick="ajaxRequest('parse.php', 'val='+document.getElementById('myval').value)" >
Good luck.
]]>