Do you have a demo that we can look at? Kind of hard to tell from
these snippets.

--John



On Thu, Feb 26, 2009 at 8:46 AM, Harrie Hazewinkel
<[email protected]> wrote:
>
> 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to