Hi friends,

I put single master page with multiple content pages. I call the function from

master page that "showContent()".

MasterPage.Master :
================

function ShowContentOne()
{
alert("enterInside");

var elemContentOne=document.getElementById('divCheckContent');

alert(elemContentOne);

elemContentOne.style.display='block';
elemContentOne.style.visibility='visible';

}

<div>
<input id="btnSumbit" type="button" runat="server" style="width:250px" onclick="ShowContentOne()" />

===========================================

this 'divCheckContent' is in content page two. But i cant get it. i call this function onclick in master page.

frmContentOne.aspx :
================
<div id="divContentOne" runat="server" style="display:none;background-color:Red;height:500px;width:500px">
</div>

I cant get the div id. The div id is null while i give in alert.

Hope ur's reply

Thanks