Microsoft JScript runtime error: Unable to get value of the property 'style': object is null or undefined
<p>This is my code line throwing error</p>

<pre><code>$get("Panel1").style.visibility= "visible";
</code></pre>

<p>This line works well on normal page .But whenever using it on child page which owns a master page it throws the error as "Microsoft JScript runtime error: Unable to get value of the property 'style': object is null or undefined". I am a great beginner to javascript . I am using this on Asp.Net 3.5 .Any one know this issue before . </p>
