Article View: pl.comp.lang.javascript
Article #255Re: eval() i <A HREF>; window.location() ? ROZWIAZANIE
From: Tantal
Date: Sun, 06 Jan 2002 12:13
Date: Sun, 06 Jan 2002 12:13
25 lines
1689 bytes
1689 bytes
Ostatecznie problem rozwiazalem. Okazalo sie ze pomylilem sie troche
przy windows.location
Dzieki.
Jako serwer mam Apacha i dziala.
Dla potomnosci zamieszczam dzialajaca wersje funkcji.
function reLoad() {
replace = "window.location = 'http://localhost/test/index.php?a=wartosc_a;'"
;
eval(replace);
}
a w kodzie zamieszczam
<A HREF="javascript:reLoad()" >jakis_link</A>
strona sie przeladowuje i przekazuje parametry.
Dzieki.
Nota bene co oznacza komunikat o bledzie "nie obsluguje kolekcji" ?
Technical Details
Message-ID:
<a19f1b$nbu$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!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mailReferences:
<a15aao$cid$1@news.tpi.pl>Show 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!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail From: "Tantal" <r.hryniewiecki@imagix.pl> Newsgroups: pl.comp.lang.javascript Subject: Re: eval() i <A HREF>; window.location() ? ROZWIAZANIE Date: Sun, 6 Jan 2002 13:13:00 +0100 Organization: tp.internet - http://www.tpi.pl/ Lines: 27 Message-ID: <a19f1b$nbu$1@news.tpi.pl> References: <a15aao$cid$1@news.tpi.pl> NNTP-Posting-Host: pa215.poznan.cvx.ppp.tpnet.pl X-Trace: news.tpi.pl 1010319214 23934 213.76.72.215 (6 Jan 2002 12:13:34 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Sun, 6 Jan 2002 12:13:34 +0000 (UTC) X-Notice-1: This post has been postprocessed on the news.tpi.pl server. X-Notice-2: Subject line has been filtered and leading Odp: string removed. X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-Subject: Odp: eval() i <A HREF>; window.location() ? ROZWIAZANIE X-MSMail-Priority: Normal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit