Hey ! THANK YOU VERY MUCH,
I fixed the problem : Actually, I'm using Zend frame work and there is a method which displays this line in the header : <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-type" content="text/html" /> <-------this line That's this which is the problem. I delete it and it works fine now ! Thank you again ! On 6 avr, 15:11, boermans <[email protected]> wrote: > On Apr 6, 6:18 pm, gostbuster <[email protected]> wrote: > > > Here is my test code : > > > <script type="text/javascript"> > > $(function (){ > > $("#effet").click(function (){ > > $(this).fadeOut("slow"); > > $(this).fadeIn("fast"); > > > });}); > > > </script> > > <div id="effet">bonjour</div> > > > When I click, the div should fadeOut and fadeIn but it doesn't. > > I pasted your code into js bin and it works there:http://jsbin.com/avexi > > Compare closely, the difference must be elsewhere in your code. > > Good luck! > Hope that helps!

