On 08/08/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>
> > This may work:
> >
> > var myDblClickFunction = function(e)
> > {
> > e.stopPropagation();
> > alert('DoubleClick');
> > }
>
> but if it works, it will not work in IE. don't you think it is important
> to support IE, wether one likes it or not? i have found quite often on
> this list, that code simply isn't tested in IE.
>
> i don't like IE either by the way, but its a necessity to support in
> real world.
>
>
> -- Klaus
Actually, I think it will, as there is a fix (taken from latest SVN):
1426 fix: function(event) {
1427 if ( event ) {
1428 event.preventDefault = function() {
1429 this.returnValue = false;
1430 };
1431
1432 event.stopPropagation = function() {
1433 this.cancelBubble = true;
1434 };
1435 }
1436
1437 return event;
1438 }
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/