in asp.net 2.0, i guess you can achieve this by
<input id="btntest" type="button" value="test value"
language="javascript" onclick="return btntest_onclick()" />
otherwise, you can also attach the script function call from the code behind.
check out
http://www.codeproject.com/aspnet/ClientServer.asp
Regards,
Augustin
http://augustinprasanna.blogspot.com
"♥eXtreme oXygen♥" wrote:
> How do i call JAVASCRIP function from an event of ASP.NET:BUTTON, if
> runat=server attribute is true...
>
> actually i want to open an popup window using asp.net--button onclick
> event, but its not working
>
> --aankx
>
>