|
-
Feb 13th, 2003, 06:27 PM
#1
Thread Starter
Registered User
confirmation box
How do I use a javascript confirmation box when a button is clicked that also has causevalidation=true?
I tried:
saveIt.Attributes.Add("onClick", "return confirm('Are you sure you want to save?');")
update.Attributes.Add("onClick", "return confirm('Are you sure you want to update?');")
However, both button already have onClick events because of the causevalidation=true property. Is there a way I can add this attributes.add to the exsisting onClick event?
James
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|