Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1440
  • Last Modified:

what's the difference between onbeforeunload and onunload?

what's the difference between onbeforeunload and onunload?
0
mo-shi
Asked:
mo-shi
  • 3
  • 2
1 Solution
 
neongrauCommented:
i know! 6 letters!!! *g*

but to be precise:
before is when the unload starts but if you cancel the prompt, the unload won't occur. which results your window would stay open.

;-)

~neongrau
0
 
mo-shiAuthor Commented:
thanks funny fella
0
 
neongrauCommented:
Answer Grade: A Points: 2
again
perhaps there's a bug you should report to the webmaster ?!?
0
 
mo-shiAuthor Commented:
I've reported the bug--I'm really sorry.  Perhaps you should too?
0
 
mo-shiAuthor Commented:
This is the answer I got:

Nothing's wrong - the points shown are the 'cost' of the question to be viewed by other users, not the number of points awarded to the answerer.  The figure is 10% of the points available for the original question.

They will get 20pts multiplied by the grade
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now