🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: wczytać plik po wczytaniu strony

#51308
From: zlotowinfo
Date: Tue, 18 Jun 2013 15:12
19 lines
1582 bytes
Użytkownik "chochlik_drukarski" <chochlik_drukarski@wp.pl> napisał w 
wiadomości news:kpm9f8$p8c$1@dont-email.me...
>
> U mnie te document.write wywołane w onClick czyści caly dokument.
>
to było celowe, pokazałem poporstu o co chodzi w ten sposób


> Spróbój tak:
działa super

> W sekcji head pusty skrypt z nadanym id. W onClick coś co temu skryptowi 
> ustawia własność src. Gdyby był problem z keszowaniem tego pliku przez 
> przeglądarke to można zrobić np '2.js?'+Math.random()
a z tym to już genialne

-- 
http://zlotowskie.blox.pl
http://moneysave.info 
Technical Details
Message-ID: <kpptcg$vq0$1@node2.news.atman.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
References: <kpfkib$1d2$1@node2.news.atman.pl> <kpm9f8$p8c$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
From: "zlotowinfo" <dupa@dupa.xx>
Newsgroups: pl.comp.lang.javascript
Subject: Re: wczytać plik po wczytaniu strony
Date: Tue, 18 Jun 2013 17:12:19 +0200
Organization: ATMAN - ATM S.A.
Lines: 20
Message-ID: <kpptcg$vq0$1@node2.news.atman.pl>
References: <kpfkib$1d2$1@node2.news.atman.pl> <kpm9f8$p8c$1@dont-email.me>
NNTP-Posting-Host: 77-45-36-78.sta.asta-net.com.pl
Mime-Version: 1.0
X-Trace: node2.news.atman.pl 1371568336 32576 77.45.36.78 (18 Jun 2013 15:12:16 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Tue, 18 Jun 2013 15:12:16 +0000 (UTC)
In-Reply-To: <kpm9f8$p8c$1@dont-email.me>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6002.18197
X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7601.17609
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit