Visual Basic (1)
New related comments
Number of comments in the last 48 hours
Validating user input in a form
Can I disable the Refresh button in Internet Explorer
Opening a window without a title bar
Dynamically collapse or expand a section of a web page
23 comments. Current rating: (4 votes). Leave comments and/ or rate it.
Answer:The document object is not used to reload a window, that is the reason for your problem. Below are three examples, in these cases in the onclick event.
This code will reload the current window. If it is shown in a frame, then only this frame will be reloaded. If you need to reload another frame, then you may want to address it as shown in the last 2 examples.