G
Guest
Hi,
I have a wab form that allows users to input customer information, when
users click submit, the web form insert or update a SQL table based on
whether the customer name already exists in table. This part is working fine.
Now the project manager wants me to pop up a javascript confirm box on the
client side to ask user to confirm overwriting existing infomation if
customer name already exists in the table. How do I do this?
I tried to user btnSubmit.Attributes.add("onclick",......), but this pops
up the confirm box no matter the customer name exists in the table or not.
TIA
I have a wab form that allows users to input customer information, when
users click submit, the web form insert or update a SQL table based on
whether the customer name already exists in table. This part is working fine.
Now the project manager wants me to pop up a javascript confirm box on the
client side to ask user to confirm overwriting existing infomation if
customer name already exists in the table. How do I do this?
I tried to user btnSubmit.Attributes.add("onclick",......), but this pops
up the confirm box no matter the customer name exists in the table or not.
TIA