And so I use phpDesigner 7. Denver is installed, the site costs, 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 wrote the code:

 $(document).ready(function () { var myLink = $('img[scr*=logo.jpg]'); myLink.hide(3000); }); 

// the header disappears in the error code, everything is indicated correctly and it worked and as soon as it added a certain part to the code and saved it, then everything stopped working. That is, whatever I wrote in this file, whatever javascript it does not work. I tried to restart the project on pshpDizayner, created a new file with javascript, Denver rebooted, reboot the computer, nothing helped. What is it?)

  • one
    You yourself answered your question. )) Everything works until you start writing some more code. Those. the problem is not in phpDesigner, not in Denwer, but in your scripts. Your KO - Deonis

1 answer 1

Come back in the changes until it works.