🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #39556

select i option

#39556
From: tmerlin
Date: Fri, 21 Apr 2006 13:49
13 lines
1680 bytes
Witam.

Chcial bym dynamicznie operowac na liscie select, wiec tworzeo sobie elementy 
przy pomocy konstruktora new Option() .. wszystko ladnie tworzy .. ale jak 
dynamicznie usunac dany element listy ??
lista.options[numer] = null ???
Bo nie bardzo chce dzialac .. no i nie wiem czy nie zostanei po tym puste 
pole .. chcial bym uzustkac znowu liste bez danego elementu .. jak to 
osiagnac ???

Pozdrawiam
-- 
Archiwum grupy: http://niusy.onet.pl/pl.comp.lang.javascript
Technical Details
Message-ID: <200604211550.43224.tmerlin@2-ec.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.silweb.pl!news.onet.pl!newsgate.onet.pl!newsgate.pl

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.silweb.pl!news.onet.pl!newsgate.onet.pl!newsgate.pl
From: tmerlin@2-ec.com (tmerlin)
Newsgroups: pl.comp.lang.javascript
Subject: select i option
Date: 21 Apr 2006 15:49:20 +0200
Organization: email<>news gateway
Lines: 14
Message-ID: <200604211550.43224.tmerlin@2-ec.com>
NNTP-Posting-Host: newsgate.onet.pl
Mime-Version: 1.0
X-Trace: newsgate.test.onet.pl 1145627360 12066 213.180.130.18 (21 Apr 2006 13:49:20 GMT)
X-Complaints-To: abuse@onet.pl
NNTP-Posting-Date: 21 Apr 2006 13:49:20 GMT
X-Received: (root@newsgate.test.onet.pl) by newsgate.test.onet.pl id <S118096AbWDUNtA>; Fri, 21 Apr 2006 15:49:00 +0200
X-Received: from 2-ec.com ([217.153.136.115]:23233 "EHLO mail.2-ec.com") by newsgate.test.onet.pl with ESMTP id <S118104AbWDUNs4>; Fri, 21 Apr 2006 15:48:56 +0200
X-Received: from [192.168.0.212] (uw210.internetdsl.tpnet.pl [80.55.152.210]) (authenticated bits=0) by mail.2-ec.com (8.12.10/8.12.10/Linux 0.7) with ESMTP id k3LDmsKT018405 for <pl-comp-lang-javascript@newsgate.pl>; Fri, 21 Apr 2006 15:48:54 +0200
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit