469,323 Members | 1,575 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,323 developers. It's quick & easy.

onload without onunload being executed...

Mel
i would like to ignore onUnload action when the user reloads the page !!
what can i do ?

pleeeez help muai
Jul 20 '05 #1
6 1337
"Mel" <me*@redolive.com> wrote in message news:bt**********@s0b1a68.ssa.gov...
i would like to ignore onUnload action when the user reloads the page !!
what can i do ?

pleeeez help muai


Set the onunload event handler to return false.
Jul 20 '05 #2
Mel wrote:
i would like to ignore onUnload action when the user reloads the page !!
what can i do ?
Nothing.
pleeeez help muai


[x] done
[x] your keyboard is borken
PointedEars
Jul 20 '05 #3
Thomas 'PointedEars' Lahn wrote:
Mel wrote:

i would like to ignore onUnload action when the user reloads the page !!
what can i do ?

Nothing.

pleeeez help muai

[x] done
[x] your keyboard is borken


Are you truly as stupid as you act?

P.S. I *can* stop onload when the page is reloaded. Perhaps if you knew
as much javascript as you portray yourself as knowing then you would
know how to accomplish it as well.

P.S.S. The idea is not to stop the onload, but to use the onload in a
way that the OP has not even thought about.

--
Randy

Jul 20 '05 #4
Randy Webb <hi************@aol.com> writes:
Are you truly as stupid as you act?
That's the "have you stopped beating your wife" fallacy, right?
P.S. I *can* stop onload when the page is reloaded. Perhaps if you
knew as much javascript as you portray yourself as knowing then you
would know how to accomplish it as well.


That was not the question. It was to stop unUnload when the user
reloads the page. It can't be done.

What can be done is to not assign onunload at all. Relying on it in
any way is unsafe, since you can't guarantee that it is run at all.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #5
Lasse Reichstein Nielsen wrote:
Randy Webb <hi************@aol.com> writes:
Are you truly as stupid as you act?


<language mode="speaker" reverb="airport">

Randy Webb <hi************@aol.com>, currently online with a news
client in comp.lang.javascript, is requested not to post followups
to the postings of Thomas 'PointedEars' Lahn <Po*********@web.de>.
They are not even downloaded by the latter netizen and are thus
merely a waste of precious bandwidth which could instead be of
good use for later generations.

Thank you for your attention and for obeying all rules of security.

</language>
PointedEars, X&F'up2 where it belongs to
Jul 20 '05 #6
JRS: In article <40**************@PointedEars.de>, seen in
news:comp.lang.javascript, Thomas 'PointedEars' Lahn
<Po*********@web.de> posted at Fri, 16 Jan 2004 02:42:39 :-
Lasse Reichstein Nielsen wrote:
Randy Webb <hi************@aol.com> writes:
Are you truly as stupid as you act?


<language mode="speaker" reverb="airport">

Randy Webb <hi************@aol.com>, currently online with a news
client in comp.lang.javascript, is requested not to post followups
to the postings of Thomas 'PointedEars' Lahn <Po*********@web.de>.
They are not even downloaded by the latter netizen and are thus
merely a waste of precious bandwidth which could instead be of
good use for later generations.

Thank you for your attention and for obeying all rules of security.

</language>
PointedEars, X&F'up2 where it belongs to

It seems that a significant proportion of the regulars here consider you
to be both arrogant and stupid (albeit not without technical knowledge;
but others have that too).

If you cannot deal with those two personal problems, or at least conceal
them, the best remedy would be for you not to post here.

As a more detailed comment on what you wrote above :

It seems that you do not understand that this is a public discussion
medium. Responses, even where specifically aimed at helping an original
questioner, are for all to read and comment on. It is a great merit of
News that in it, unlike in the Web, incorrect information is extremely
likely to be pointed out, where those who have read it can see the
correction, within a day or two.

The correction of pig-headed responses benefits their readers; and,
occasionally, their authors.

==

Bandwidth cannot be conserved for the future; spectral availability
should be.

--
John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4
<URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Jul 20 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Pai | last post: by
7 posts views Thread by Tery Griffin | last post: by
2 posts views Thread by laredotornado | last post: by
6 posts views Thread by pierre.bru | last post: by
reply views Thread by Fabio R. | last post: by
1 post views Thread by jamierphelps | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by mdpf | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.