On 17-Sep-06, at 7:52 AM, Godefroid Chapelle wrote:

> I want to setup a click event on an <a> tag where href has a value.
>
> With Safari, when the click event is added as a listener, even if
> preventDefault is called, the link is followed : this is a  
> documented bug.
>
> Now there is a workaround for this bug.
>
> I'd like to submit the patch we have.
>
> Before proposing the patch, I'd like to know what the practice is in
> Mochikit code to setup this type of workaround that needs to detect
> which browser is running the code.

We try to avoid browser detection if at all possible, but it's been  
easing its way in lately. We don't have a standard set for this yet.  
What's the workaround for this problem?

Thanks,
Beau



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to