๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: jak odczytac w JS wartos onchange

#39547
From: tomek
Date: Fri, 21 Apr 2006 09:39
22 lines
1439 bytes
tomek napisaล‚(a):
> Witam.
> 
> mam w kodzie
> 
> <select id="s" onchange="funkcja(this.value)">...</select>
> 
> chodzi mi tylko o pobranie z HTMLa wartosci z onchange i wywolwanie tej 
> funkcji w onchange

Chce dokladnie pobrac nazwe funkcji z onchange czyli
"funkcja"

Jak to zrobic w JS ?
Mozna prosic o rozwiazanie.
Bo szukam i szuka i nie moge znalezc, zadne .value itp nie pomaga.
Jak juz wyciagne wartosc tego co jest w onchange to nazwe funkcji sobie 
wyciagne.

-- 
pozdrawiam
tomek
Technical Details
Message-ID: <e2a93n$qnq$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <e2a884$obh$1@nemesis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: tomek <tomek-a@USUN_TOgazeta.pl>
Newsgroups: pl.comp.lang.javascript
Subject: Re: jak odczytac w JS wartos onchange
Date: Fri, 21 Apr 2006 11:39:07 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 22
Message-ID: <e2a93n$qnq$1@nemesis.news.tpi.pl>
References: <e2a884$obh$1@nemesis.news.tpi.pl>
Reply-To: tomek-a@USUN_TOgazeta.pl
NNTP-Posting-Host: abon247.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1145612215 27386 83.8.29.247 (21 Apr 2006 09:36:55 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Fri, 21 Apr 2006 09:36:55 +0000 (UTC)
User-Agent: Thunderbird 1.5 (Windows/20051201)
In-Reply-To: <e2a884$obh$1@nemesis.news.tpi.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit