pangolin_10
Member
hi,
I wish to generate a condition based confirm box rather than generating it on all clicks on a button. I know the method -
attributes.add('onclick','return confirm(".....");')
What I want is -
there's a button with name but1.
on clicking button1,
if me.bgcolor=color.white then
'the confirm box will be shown'
else
'other code
end if
plz help me....
I wish to generate a condition based confirm box rather than generating it on all clicks on a button. I know the method -
attributes.add('onclick','return confirm(".....");')
What I want is -
there's a button with name but1.
on clicking button1,
if me.bgcolor=color.white then
'the confirm box will be shown'
else
'other code
end if
plz help me....