A
Anatoly
Call RegisterStartupScript sub instead of Response.Write
to hard code this function in onload event becuase this javascript function
accepts some parameters and the value for this parameter come from database.
POSITION: absolute; TOP: 80px"
event of body tag at run time in code behind of asp.net page. I dont wantnileshw said:Hi,
The requirement is like I want to call one javascript function in onload
to hard code this function in onload event becuase this javascript function
accepts some parameters and the value for this parameter come from database.
runat="server"><asp:textbox id="TextBox1" style="Z-INDEX: 101; LEFT: 184px;for example
'code in page1.aspx
<HTML><HEAD><title>WebForm6</title><script language="javascript">
function try1(strMsg)
{
alert(strMsg);
}
</script></HEAD><body id="b1"><form id="Form1" method="post"
POSITION: absolute; TOP: 80px"
System.EventArgs) Handles MyBase.Loadrunat="server"> said:'code in page1.aspx is end here
'code in page1.aspx.vb
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As