Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there a way I can run php functions inside a javascript function. I read some articles, and they mentioned using jquery and ajax, but I was required to use Javascript. Any advice???
Posted
Comments
Mohibur Rashid 28-Apr-14 2:28am    
My advise would be think more. The thing you want to do is achievable. But not the way you are thinking. First using AJAX call the php file, receive the result in format(depending on your need , may be you should look at JSON) and do farther process in javascript.

1 solution

jQuery is JavaScript only.

Just a library containing JavaScript codes. Please use that, it makes life easier and simpler. :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900