D
dwa
When we want to confirm a user action before a post back occurs, we've been
writing code like this:
function onClickDelete()
{
var aResponse = window.confirm("Delete this record?");
if ( aResponse )
__doPostBack('theLayout$_ctl1$buttonDelete','') ;
return 0;
}
This seems like an "un-natural" act - is there a better way?
-- dwa
writing code like this:
function onClickDelete()
{
var aResponse = window.confirm("Delete this record?");
if ( aResponse )
__doPostBack('theLayout$_ctl1$buttonDelete','') ;
return 0;
}
This seems like an "un-natural" act - is there a better way?
-- dwa