confirm box

pangolin_10

Member
Joined
Sep 2, 2005
Messages
14
Location
India
Programming Experience
1-3
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....
 
Back
Top