Posts Tagged ‘Javascript’
How to refresh parent page
-
Dim reloadParentPage As String = "window.opener.location=window.opener.location;"
-
ScriptManager.RegisterStartupScript(Me, Me.GetType(), "nothing", reloadParentPage, True)
‘null’ is null or not an object
Posted by: admin in Javascript on May 18th, 2010
This error occurs when the object/element you are trying to access does not exists in the html page or you did not specify the ID of the element.
or
You are executing a code while the html page has not yet fully loaded. If you need to execute a certain code during page load, this can be done on window.onload event or put the script before the end of the body tag