how can i get return value (true and false ) from a confirm box using java script?
-
how can i get return value (true and false ) from a confirm box using java script? r00d0034@yahoo.com
-
how can i get return value (true and false ) from a confirm box using java script? r00d0034@yahoo.com
var ret = confirm(...) << >>
-
var ret = confirm(...) << >>
But i want to get that value in vb.net r00d0034@yahoo.com -- modified at 6:26 Friday 17th February, 2006
-
But i want to get that value in vb.net r00d0034@yahoo.com -- modified at 6:26 Friday 17th February, 2006
-
Add an attribute to the button on the asp.net button on the Page_Load then when you click the button, the javascript code will be called and you will be able to call the function
-
But i want to get that value in vb.net r00d0034@yahoo.com -- modified at 6:26 Friday 17th February, 2006
-
Add an attribute to the button on the asp.net button on the Page_Load then when you click the button, the javascript code will be called and you will be able to call the function
Can you please give me sample code ? so that i can have clear idea how to do it ? r00d0034@yahoo.com
-
place it into a hidden field. then on postback you can read the value 1 line of code equals many bugs. So don't write any!!
plz give me sample code for that r00d0034@yahoo.com
-
plz give me sample code for that r00d0034@yahoo.com
-
document.getElementByID('myHiddenField').value = 'Hello World'; create a hiddeb field with the HTML tab under your toolbox called "myHiddenField" Nick 1 line of code equals many bugs. So don't write any!!
Place this code in class Public Shared Sub CreateConfirmBox(ByRef btn As WebControls.Button, _ ByVal strMessage As String) btn.Attributes.Add("onclick", "return confirm('" & strMessage & "')") End Sub use below mention code to call CreateConfirmBox(Me.btnCancel, "Are you sure to Cancel this record") This calls an attributes when user click button First confirm is called then button click if user select yes then button click is called Happy programming Regards ravi d