Hi John.  I created a test page, but can't reproduce it on that page.
However, I can give you access to the app that this is running on so you can
see for yourself.

I'll email send the info to your gmail acct.

Thx!

Rich

On 1/16/07, John Resig <[EMAIL PROTECTED]> wrote:

Do you have a demo of this running anywhere - perhaps a simpler one
that doesn't use Ajax? I haven't been able to duplicate this.

--John

On 1/16/07, Rich Manalang <[EMAIL PROTECTED]> wrote:
> I don't know if others are having as tough a time moving to 1.1 as I am,
I
> hope I'm doing something stupid.  Anyway, here's my latest find...
>
> I was using the toggle() function to toggle a div in an open/close
state,
> but then after the 1.1 upgrade, the toogle wasn't canceling the default
> action on the <a> tag that it was attached to (the <a> tag has an href).
> So, I put in a ticket for this (
> http://jquery.com/dev/bugs/bug/828/).
>
> So, as a workaround, I thought I'd try using the click event instead
(even
> though I know that toggle uses the click event internally).  Here's my
code:
>
>         $(".maxmin").unbind().bind('click',function() {
>             var p = $(this).parents(".container");
>             var pb = $(".content",p[0]);
>             if (pb.css('display') != 'none') {
>                 pb.hide();
>
> $.get(scriptURI,{tab:$.query("tab"),pageletname:
> p.attr("id"),min:1});
>             } else {
>                 pb.show();
>
> $.get(scriptURI,{tab:$.query("tab"),pageletname:p.attr("id"),min:0});
>             }
>             return false;
>         })
>
> Notice the "return false" at the end of the function... this is supposed
to
> stop bubbling and cancel the default action.... it's not.
>
> Is anyone else experiencing this with 1.1?
>
> Rich
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to