Hi !
I searched most of the functions in jquery website but couldn't find solution for this one.

Example :

$('.someclass').mousedown(function(){//do something once});

As you know mosedowning every time,starts the function again.
So i was wondering how can i remove '.mousedown' from jquery after it is completed once.Maybe something with remove() or empty() ?
Porsche_maniak Reviewed by Porsche_maniak on . remove attribute in jquery itself Hi ! I searched most of the functions in jquery website but couldn't find solution for this one. Example : $('.someclass').mousedown(function(){//do something once}); As you know mosedowning every time,starts the function again. So i was wondering how can i remove '.mousedown' from jquery after it is completed once.Maybe something with remove() or empty() ? Rating: 5