Articles → JavaScript → _Dopostback In Javascript
_Dopostback In Javascript
<script language = "javascript"
type = "text/javascript">
function ClickButton() {
return false;
} </script>
Button1.Attributes.Add("onclick", "return ClickButton();");
_doPostBack("TextBox1", "Test");
<script language = "javascript"
type = "text/javascript">
function ClickButton() {
_doPostBack("TextBox1", "Test");
return false;
} </script>