[jQuery] Re: .load() problem

2007-09-21 Thread barnezz
Hello, If there is 20 requests, it means you've bind 20 time the event click ;-) So I don't think the problem is in this piece of code, but maybe come from it's location??? Is there any js in the page you load? Don't you load again jquery.js in the target div? Is there so much request when you c

[jQuery] Re: How to bind a function to all elements?

2007-09-21 Thread barnezz
Thank you a lot for your answers ;-) barney

[jQuery] How to bind a function to all elements?

2007-08-01 Thread barnezz
Hello I need to bind an hover function on every element of my page... but it doesn't work :-( var allz=document.getElementsByTagName("*"); for(var i=0; i