Hi I am in a bit confused about a script not working.Here is my situation I have this code:
<script src="jquery.js"></script>
<script>
$(document).ready(function(){
$('a#Press_one').click(function(event){
event.preventDefault();
$('div#main_left').load('1.html');
})
});
</script>
</head>
<body>
<div id="main_left"></div>
<a href="#" id="Press_one">Citeste mai mult...</a>
</body>
</html>
I have writen this using NetBeans IDE and when I run it , it works very well.I've saved the file with the name index.html , and went to the folder where the file is place.I double clicked on the link but the weird thing is it doesn't work.I tried again in NetBeans and it works.What is wrong here?