plz tell me confirm alert
how its button work
i mean OK and CANCLE....
Printable View
plz tell me confirm alert
how its button work
i mean OK and CANCLE....
ok returns true and cancel returns false
I think you mean MsgBox, look it up in VB help for a nice explanation and some examples ;)
how can i take vb help plz explain..///
ah sorry - I didn't notice which forum this was (I assumed VB script). I'm afraid I don't know how to do it javascript etc.
Code:function test(){
if(confirm("click a button"))
alert("ok");
else
alert("cancel");
}