jeff5656 Posted February 12, 2012 Share Posted February 12, 2012 I put the jquery script into my subdirectory. In the header which one is correct: <script type="text/javascript" src="jquery.js"></script> or <script src="jquery.js"></script> Quote Link to comment https://forums.phpfreaks.com/topic/256960-new-to-js-simple-question/ Share on other sites More sharing options...
trq Posted February 13, 2012 Share Posted February 13, 2012 Either will work. Browsers ignore the type directive anyway though I believe it is required if you want your document to validate as xhtml or html 4. Quote Link to comment https://forums.phpfreaks.com/topic/256960-new-to-js-simple-question/#findComment-1317409 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.