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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mynick
    New Member
    • Jan 2007
    • 4

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

    is it possible to call a .js in php???
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Just include it as you would in a normal HTML file.
    [HTML]<script language="javas cript" src="yourfile.j s"></script>[/HTML]

    Comment

    • NSR
      New Member
      • Jan 2007
      • 2

      #3
      Its Possible sir!

      Comment

      • tathagata
        New Member
        • Nov 2006
        • 6

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

        Comment

        Working...