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 difference between mysql_fetch_array and mysql_fetch_assoc?
How do I see how many pages per session in google analytics?
What is the difference between php and javascript?
What is the use of htmlspecialchars in php?
What's php?
how can i develop forum code? any one pleale help me on this question
Can constructor be private in php?
How can we connect to a mysql database from a php script?
Is it possible to extend the execution time of a php script?
A process is identified by a unique___
How to find the length of a string?
What is the difference between md5(), crc32() and sha1() crypto on php?
How to delete file in php?
How to Retrieve the Session ID of the Current Session?
What type of language is php?