here is the problem I have, I am using JAVA's confirm function on one of the button in my aspx page, and base on the response, I would like to call a function with in the cs file.
is this possible ?
below is my aspx code
is this possible ?
below is my aspx code
Code:
<asp:Button ID="myButton" runat="server" Text="Click Me" OnClientClick="ShowTextBoxContent();"/>
<script type="text/javascript">
<!--
function ShowTextBoxContent()
{
if ( confirm('test') = true )
{
email();
}
}
-->
</script>
Comment