shangrilla
Programmer
Button1.Attributes.Add("onclick", "testClient();"
On clientSide I have:
//--------------------------------------------------
function testClient()
{
doyou = confirm("You are about to delete rows that are checked? (OK = Yes Cancel = No)"
if (doyou == true){
return true;}
if (doyou == false){
return false;}
}
//-------------------------------------------------------
I want to do something like this:
dim test as boolean
test = Button1.Attributes.Add("onclick", "testClient();"
Now test contains the value returned from testClient()
How can I do this?
On clientSide I have:
//--------------------------------------------------
function testClient()
{
doyou = confirm("You are about to delete rows that are checked? (OK = Yes Cancel = No)"
if (doyou == true){
return true;}
if (doyou == false){
return false;}
}
//-------------------------------------------------------
I want to do something like this:
dim test as boolean
test = Button1.Attributes.Add("onclick", "testClient();"
Now test contains the value returned from testClient()
How can I do this?