+ 2
is it possible to use JavaScript and php in same page?
3 Respuestas
+ 3
Yes you can. The primary objective here is to allow the javascript yo execute only after the html page is loaded. You can do this by writing as follows
$(document).ready
(function() {
// some code here
});
0
thank you Midhun Mathew.
0
ya just you must echo js script by php to load on page