cameron
10-04-2005, 02:04 PM
I'm building a new site and trying to make it XHTML 1.0 Transitional complient.
The part I'm working on right now is a form for maintaining content, and I want to have a confirmation message when the user choose to delete something. XHTML doesn't like my onClick. How can I do this instead?
onClick="javascript:return confirm('Are you sure you want to delete the post?')"
The part I'm working on right now is a form for maintaining content, and I want to have a confirmation message when the user choose to delete something. XHTML doesn't like my onClick. How can I do this instead?
onClick="javascript:return confirm('Are you sure you want to delete the post?')"