Is there any way to call a JAVASCRIPT function in PHP in AJAX
Answer Posted / ashiq
yes , who say no
definite their is way to call javascript function when
calling ajax, ajax execute php script and with in the ajax
commmand we can call after ajax function which execute the
javascript function code
examaple
if (request.readyState == 4)
{
if (request.status == 200)
{
data=request.responseText;
document.getElementById
(_dynCont).innerHTML=data;
try
{
jSFromAjax
(varbol=true,varStr='');
}
catch(ex){}
}
}
this is the function that execute the js with ajax
Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
What is static method php?
How can you propagate a session id?
Explain me difference between mysql_connect and mysql_pconnect?
How to include variables in double-quoted strings?
What is the difference between core php and php?
How can we create a database using php?
What is the apache?
Is php a low level language?
What types of Data Can Be Used as Array Keys?
How do you use bcrypt for hashing passwords in php?
Explain me how failures in execution are handled with include() and require() functions?
How do you parse and process html/xml in php?
How to redirect https to http url through .htaccess?
What is html used for?
Xplain is it possible to use com component in php?