Is there any way to call a JAVASCRIPT function in PHP in AJAX

Answer Posted / guest_shah

in php u can call javascript function in onlclick or onchange
event of html tag.or u can call like
?><script language='javascript'>
javascriptfunction
</script>
<?

Is This Answer Correct ?    3 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is interface? Why it is used?

546


Tell me when a conditional statement is ended with an endif?

506


What is the difference between array_merge() and array_merge_recursive() in php?

549


Is jquery better than javascript?

570


How does api connect to database?

564






write a note on Testing the web site

1424


Which is better php or nodejs?

523


How come the code works, but does not for two-dimensional array of mine?

508


What is the meaning of ‘escaping to php’?

624


What is data type in php?

529


Is php harder than javascript?

435


How to create a session? How to set a value in session? How to remove data from a session?

518


Write syntax to open a file in php?

522


What is the role of the .htaccess file in php?

550


What sized websites have you worked on in the past?

539