Article View: pl.comp.lang.javascript
Article #427Problem z eval
From: Jacek Malka
Date: Sat, 12 Jan 2002 13:49
Date: Sat, 12 Jan 2002 13:49
18 lines
1171 bytes
1171 bytes
Witam wszystkich
Gdy pisze na stronie:
ss= "document.forma.a4.value";
eval(ss) = 100;
jest blad (przegladarka IE5)
Jednak gdy napisze
alert(eval(ss));
jest OK
Jak moge przypisac wartosc do tego, co zwraca eval() ?
Z gory dzieki za wszelkie sugestie
--
Pozdrawiam
Technical Details
Message-ID:
<a1pefk$40j$1@news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!news.astercity.net!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!news.astercity.net!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail From: "Jacek Malka" <jmalka@elka.pw.edu.pl> Newsgroups: pl.comp.lang.javascript Subject: Problem z eval Date: Sat, 12 Jan 2002 14:49:23 +0100 Organization: tp.internet - http://www.tpi.pl/ Lines: 20 Message-ID: <a1pefk$40j$1@news.tpi.pl> NNTP-Posting-Host: 212.244.180.165 X-Trace: news.tpi.pl 1010842932 4115 212.244.180.165 (12 Jan 2002 13:42:12 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Sat, 12 Jan 2002 13:42:12 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit