ASP Code:
btn.Attributes.Add("onclick", "pop(this)");
Javascript :
function pop(InputBox)
{
alert(InputBox.value);
}
All about ASP .NET, SQL Server, jquery, javascript, new & cool technologies, gadgets n more
ASP Code:
btn.Attributes.Add("onclick", "pop(this)");
Javascript :
function pop(InputBox)
{
alert(InputBox.value);
}
No comments:
Post a Comment