Faqts : Business : Programming : Shopping For You : JavaScript : Event handling

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

65 of 520 people (13%) answered Yes
Recently 3 of 10 people (30%) 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()">