PDA

View Full Version : javascript external link problem


fattat
09-05-2009, 04:26 AM
<script type="text/javascript" src="includes/jquery.js"></script>


<link href="includes/jquery.js" rel="stylesheet" type="text/javascript" />


is that the 2nd script wrong ??
i have try both of it, only the 1st script can work, but 2nd script cant.
is that the 2nd script anything wrong ??

coloeagle
09-06-2009, 02:24 PM
is that the 2nd script wrong ??
Yes,
It is a js file call tag and not a css style sheet call tag