Add handler multiple times in jquery

Posted by AdmSteck on Stack Overflow See other posts from Stack Overflow or by AdmSteck
Published on 2010-04-06T13:33:51Z Indexed on 2010/04/06 13:43 UTC
Read the original article Hit count: 167

Filed under:

How does jquery handle event assignment when it comes to assigning the same handler multiple times? Let's say I have

<div class="draggable">Some Text</div>

Are there any side effects (performance or otherwise) from calling the following multiple times?

$('.draggable').draggable();

© Stack Overflow or respective owner

Related posts about jQuery