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 does php do?
How can we enable error reporting in php?
Is empty function c++?
Does php has a future?
What does the expression exception::__tostring means?
How to get elements in reverse order of an array in php?
Describe which programming language does php parallel to?
How to terminate the execution of a script in PHP?
What type of language is php?
What is php routing?
Why do we use htaccess
How can we check the value of a given variable is alphanumeric?
What does csrf token mean?
Tell me what does the initials of php stand for?
How can we determine whether a variable is set?