By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,746 Members | 1,735 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,746 IT Pros & Developers. It's quick & easy.

is it possible to call a .js in php???

P: 4
is it possible to call a .js in php???
Jan 16 '07 #1
Share this Question
Share on Google+
3 Replies


acoder
Expert Mod 15k+
P: 16,027
Just include it as you would in a normal HTML file.
[HTML]<script language="javascript" src="yourfile.js"></script>[/HTML]
Jan 16 '07 #2

P: 2
NSR
Its Possible sir!
Jan 17 '07 #3

P: 6
you include js file in your php file and use it's funtionality
<?php
include("path/yourjs.php");
?>
Jan 18 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.