Article View: pl.comp.lang.javascript
Article #39319Cross window scripting
From: soleil
Date: Mon, 03 Apr 2006 23:18
Date: Mon, 03 Apr 2006 23:18
24 lines
1426 bytes
1426 bytes
Czesc
Mam problem z komunikacja miedzy formularzem w php a popup-em javascriptu.
W formularzu tworze sobie w petli pola, cos jak:
for(int $i=0; $i<5; $i++) {
echo "<input type="text" name="bee[]" size=20>";
}
Z formularza wolam javascriptowego popupa, i chce sie stamtad odwolac do pol
formularza (bee[jakis_index]). Niestety cos takiego:
opener.document.myForm.bee[ind].value=val;
nie dziala:(
Jesli bee nie jest tablica wszystko jest ok, ale jak ot zrobic dla tablicy?
dzieki za pomoc.
Soleil
--
Wysลano z serwisu OnetNiusy: http://niusy.onet.pl
Technical Details
Message-ID:
<45ec.00000218.4431ad2b@newsgate.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!newsgate.onet.pl!niusy.onet.plShow 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!newsgate.onet.pl!niusy.onet.pl From: "soleil" <soleil_mWYTNIJTO@poczta.onet.pl> Newsgroups: pl.comp.lang.javascript Subject: Cross window scripting Date: 4 Apr 2006 01:18:03 +0200 Organization: Onet.pl SA Lines: 24 Message-ID: <45ec.00000218.4431ad2b@newsgate.onet.pl> NNTP-Posting-Host: newsgate.onet.pl Mime-Version: 1.0 X-Trace: newsgate.test.onet.pl 1144106283 1701 213.180.130.18 (3 Apr 2006 23:18:03 GMT) X-Complaints-To: abuse@onet.pl NNTP-Posting-Date: 3 Apr 2006 23:18:03 GMT X-Mailer: http://niusy.onet.pl X-Forwarded-For: 81.190.221.252, 192.168.243.37 X-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit