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

Where can I find php ini file?

961


What is a php class?

1060


How cookies are trported from browsers to servers?

1022


Explain the three different kinds of Arrays?

1196


What are the functions for imap?

1121


How is the ternary conditional operator used in php?

1006


What is isset function in php?

1187


Can we extend multiple classes in php?

1039


How can I embed a java program in php file and what changes have to be done in php.ini file?

962


Why do we show php code in browser?

1063


Which is the dependent variable?

917


in PHP for pdf which library used?

1015


Is php strongly typed?

1049


How do I expire a php session after 30 minutes?

1053


What is substr() in php? And how it is used?

1050