Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What does php do?

948


How can we enable error reporting in php?

956


Is empty function c++?

892


Does php has a future?

872


What does the expression exception::__tostring means?

955


How to get elements in reverse order of an array in php?

957


Describe which programming language does php parallel to?

908


How to terminate the execution of a script in PHP?

997


What type of language is php?

932


What is php routing?

920


Why do we use htaccess

1026


How can we check the value of a given variable is alphanumeric?

936


What does csrf token mean?

859


Tell me what does the initials of php stand for?

922


How can we determine whether a variable is set?

889