JavaScript stopped working

And so I use phpDesigner 7. Denver is installed, the site is standing, everything works. I connected the jQuery library to the main page:

<script src="js/jquery.js" type="text/javascript" ></script>

I also created a file for javascript and also connected it:

 <script src="js/myscripts2.js" type="text/javascript"></script>

Inside this file, I wrote the code:

$(document).ready(function () {

 var myLink = $('img[scr*=logo.jpg]'); 
 myLink.hide(3000);

 });

/ / the cap disappears there is no error in the code, everything is specified correctly and it worked, and as soon as I added another part to the code and saved it, everything stopped working. That is, whatever I write in this file, whatever javascript it is, it doesn't work. I tried to re-order the project on the pshPdesigner, created a new file with javascript, Denver rebooted, rebooting the computer, nothing helped. What's it?)

Author: KillFUN, 2012-08-10

1 answers

Go back to the changes until it works.

 1
Author: higimo, 2012-08-10 22:36:04