Thanks for the assistance. Yes, I was basically trying to assign a click 
and dblclick to the same function (to prevent users from double-clicking 
and firing the func twice). However, after looking into it a bit more, i 
think that the $("p").one("click", fun.....is a better fit here.



> I don't understand what you want to do. Jörn's answer assigns the exact same
> function to the click and dblclick events. Surely that is not what you want,
> is it - having click and dblclick do the same thing? Keep in mind especially
> that every dblclick event is preceded by a click event, so you'd be calling
> the function twice.
>
> So can you explain in a little more detail what you want to do here?
>
> -Mike
>
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>   

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to