Call javascript from ASP.net content page

  • Thread starter Thread starter weird0
  • Start date Start date
W

weird0

How can i call a javascript from a asp.net content page on the
clicking of a button.

Where the Hell should I place the code which should be, I guess:

<script>
function Open()
{
window.open('AddAccounts.aspx')
}
</script>

Where the Hell should I place the call ?
 
You can use the OnClientClick attribute of the button. Your post really
belongs in the ASP.NET Group, this group is for C# language topics.
Peter
 
Back
Top