Article View: pl.comp.lang.javascript
Article #50306Re: Przeniesienie elementów
From: Peter May
Date: Thu, 30 Sep 2010 13:54
Date: Thu, 30 Sep 2010 13:54
18 lines
1315 bytes
1315 bytes
W dniu 2010-09-30 13:13, nintendo pisze:
> Ogólnie chodziło mi o coś takiego:
>
> $(function(){
> $('.up').click(function(){
> $(this).parent().insertBefore($(this).parent().prev());
> });
>
> $('.down').click(function(){
> $(this).parent().insertAfter($(this).parent().next());
> })
>
> });
A do czego Ci tutaj jest potrzebne jQuery?
--
Peter
Technical Details
Message-ID:
<i824rn$jn7$1@news.onet.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mailReferences:
<i8080a$5nj$1@node1.news.atman.pl> <i81rc3$fip$1@node1.news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail From: Peter May <peter.may@onet.pl> Newsgroups: pl.comp.lang.javascript Subject: Re: Przeniesienie elementów Date: Thu, 30 Sep 2010 15:54:51 +0200 Organization: http://onet.pl Lines: 18 Message-ID: <i824rn$jn7$1@news.onet.pl> References: <i8080a$5nj$1@node1.news.atman.pl> <i81rc3$fip$1@node1.news.atman.pl> NNTP-Posting-Host: uw210.internetdsl.tpnet.pl Mime-Version: 1.0 X-Trace: news.onet.pl 1285854903 20199 80.55.152.210 (30 Sep 2010 13:55:03 GMT) X-Complaints-To: niusy@onet.pl NNTP-Posting-Date: Thu, 30 Sep 2010 13:55:03 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; pl; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 In-Reply-To: <i81rc3$fip$1@node1.news.atman.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit