Hi all,


Recently I started using jQuery for real and I am now
running in a problem where after the page load the $.get()
is executed twice.


I have this javascript function

function request_ninja(A, B, C) {
     $.get('request.php', { 'A': A, 'B' : B, 'C'  : C},  
function(result) {
           alert(result);
           return false;
           });
     return false;
}


That is called from an 'onclick' from a "<input type="button"  
onclick="request_ninja(1,2,3)" ...

The first time after a page is loaded it is executed twice and after  
that just once
(as expected also the first time).


Would this be a bug?


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 jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to