Here's my code
<script type="text/javascript" href="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" href="js/js.js"></script>
...
<input type="text" name="city" onkeyup="loadStation(this.value);"/>
...
and the js.js file
//Load Stations
function loadStation(stationCity){
alert(stationCity);
}
When I try to trigger the loadStation onkeyup, nothing's happening. The path of js/js.js is ok since in the source I can load it.
What could be wrong ?
EDIT
I fell really stupid.... instead of href="" it should have been src="". The funiest thing is that even you guys haven't notice it :P
Thanks