faqts : Computers : Programming : Languages : JavaScript : Event handling

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

62 of 502 people (12%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

How can i capture the reload/refresh event in Javascript?

Mar 26th, 2001 16:59
Jim Young, arunangshu chakrabarty,


You would use the onLoad event in the body tag.
<BODY onLoad="some_function()">