HI, On Mar 2, 2009, at 3:27 PM, Prajwala Manchikatla wrote: > Is your firebug version is 1.3.2 ?
That is it. > Because there is a problem with firebug 1.3.2 version which will > send extra xmlhttp request. I faced this problem. Check by > disabling firebug. If it works then upgrade your firebug1.3.3b3, > firefox3.0.6 with new version. upgraded to 1.3.3 and it works. Thanks a lot! Harrie > > > cheers, > Prajwala > > On Fri, Feb 27, 2009 at 1:41 PM, Harrie Hazewinkel <[email protected] > > wrote: > > On Feb 27, 2009, at 12:12 AM, John Resig wrote: > > > > > Do you have a demo that we can look at? Kind of hard to tell from > > these snippets. > > OK, you can test it with the attached. > > How to reproduce: > 1) Place the attached file inside your server root. > > 2) Adjust in your favorite editor the reference to the jquery.js file. > <script type="text/javascript" src="jss/jquery.js"></script><!-- > tested with 1.2.6 and 1.3.2 --> > > 2) Add in a terminal a "tail -f" on your apache-access log-file. > > 3) Load the file in your browser > > 4) Then upon load, it generates an alert "#button binded at ready()" > > 5) Click OK of the alert. > > 6) Verify in the apache log. > > 89.251.2.62 - - [27/Feb/2009:07:59:44 +0000] "GET /jQuery-Test.html > HTTP/1.1" 200 386 > 89.251.2.62 - - [27/Feb/2009:07:59:44 +0000] "GET /jss/jquery.js HTTP/ > 1.1" 200 35347 > > 7) Click the button ONCE. > > 8) An alert with 'Button Click' shows up and click 'OK' > > 9) A new alert shows the content of the page itself (as retrieved from > the server) and click 'OK' > > 10) Verify the Apache log file and 2 lines/requests show. > > 89.251.2.62 - - [27/Feb/2009:07:59:50 +0000] "GET /trunk/jQuery- > Test.html?parameter=value HTTP/1.1" 200 386 > 89.251.2.62 - - [27/Feb/2009:07:59:50 +0000] "GET /trunk/jQuery- > Test.html?parameter=value HTTP/1.1" 200 386 > > 11) Repeat the click of the button > > 12) An alert with 'Button Click' shows up and click 'OK' > > 13) A new alert shows the content of the page itself (as retrieved > from the server) and click 'OK' > > 14) Verify the Apache log file and ONLY ONCE the request to the server > has been made. > > 89.251.2.62 - - [27/Feb/2009:08:02:06 +0000] "GET /trunk/jQuery- > Test.html?parameter=value HTTP/1.1" 200 386 > > > The 'odd thing is that firebug shows the first time the request ONLY > once, while it hit > twice the server. This is not an apache log file issue as the PHP > script with which I > discovered it was executed twice also. > > > regards, > Harrie > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
