Results 1 to 4 of 4
-
22nd Jan 2011, 02:10 PM #1OPMemberWebsite's:
maxneeds.inforemove 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() ?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
-
22nd Jan 2011, 03:37 PM #2MemberCoding Horror Fan
I don't read PM's frequently .
-
22nd Jan 2011, 05:26 PM #3MemberWebsite's:
litewarez.net litewarez.com triniwarez.comPHP Code:$(".someclass").bind("mousedown",function(e){
//callback
$(this).unbind(e);
})
Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
-
22nd Jan 2011, 07:52 PM #4OPMemberWebsite's:
maxneeds.infoThanks !
Bind and unbind work fine
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Hiring] Coder with exp in DLE, jquery
By newshit in forum Completed TransactionsReplies: 0Last Post: 11th Jan 2012, 09:42 PM -
JQuery help
By xElliex in forum Web Development AreaReplies: 5Last Post: 25th Aug 2011, 10:38 PM -
Wamp. How to remove read-only attribute?
By tres in forum Technical Help Desk SupportReplies: 2Last Post: 4th Dec 2010, 11:20 AM -
Anyone who knows Javascript / jquery / Css
By Czechi in forum Completed TransactionsReplies: 5Last Post: 17th Aug 2010, 06:41 AM -
[TUT]Add nofollow Attribute for main index for IPS link
By Lease in forum IP.BoardReplies: 0Last Post: 13th Jan 2008, 01:32 AM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...