i have this index.html
<script type="text/javascript" src="js/jquery-latest.js"></script>
<script type="text/javascript" src="jqFunc.js"></script>
<script type="text/javascript">
var kamote = 6;
</script>
and this jqFunc.js
$(function(){
alert(kamote);
});
the problem is the value 6 wont appear..
what is way to call variables from other file like that?
I have tested , its working fine
There might be a problem with
ie js/jquery-latest.js file dont exits!