Article View: pl.comp.lang.javascript
Article #51502jquery i niszczenie instancji plugina
From: grzessiek
Date: Fri, 30 Jan 2015 21:17
Date: Fri, 30 Jan 2015 21:17
13 lines
1058 bytes
1058 bytes
załóżmy, że mam jQuerowy plugin o nazwie mojPlugin.
następnie tworzę sobie instancje tego pluginu na elementach o klasie
jakasKlasa:
$('.jakasKlasa').mojPlugin();
i teraz, chciałbym anulować efekt działania linijki kodu, która jest wyżej.
jak to zrobić?
dzięki,
g.
Technical Details
Message-ID:
<magsdd$hq$1@speranza.aioe.org>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: grzessiek <grzesiek76@poczta.onet.pl> Newsgroups: pl.comp.lang.javascript Subject: jquery i niszczenie instancji plugina Date: Fri, 30 Jan 2015 22:17:46 +0100 Organization: Aioe.org NNTP Server Lines: 13 Message-ID: <magsdd$hq$1@speranza.aioe.org> NNTP-Posting-Host: yoabuosp6L5sJRNL8iBtmQ.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit