V
Valli
HI,
I have a master page & a content page in my project. My content page
contains javascript codings.
While I load my content page in browser(IE) , I ma getting an error (Error
is displayed in the status bar). After i click the status bar, the error
dispayed was "object required ".
My javascript code follows...
function window.onload()
{
document.getElementById('Update').style.visibility='hidden'; --Error
occurs here (object required)
}
Is there any wrong in using "document.getElementById" to access a control
in the form? or do I need to use some other property to access a control in
the form in javascript.
Can anyone help me
I have a master page & a content page in my project. My content page
contains javascript codings.
While I load my content page in browser(IE) , I ma getting an error (Error
is displayed in the status bar). After i click the status bar, the error
dispayed was "object required ".
My javascript code follows...
function window.onload()
{
document.getElementById('Update').style.visibility='hidden'; --Error
occurs here (object required)
}
Is there any wrong in using "document.getElementById" to access a control
in the form? or do I need to use some other property to access a control in
the form in javascript.
Can anyone help me