onsubmit would go in your <form> tag.

<form onsubmit="return confirm('Are You Sure?');">

On 3/10/06, Orlini, Robert <[EMAIL PROTECTED]> wrote:
> I would like to include two onclick in the Input type below one is:
>
> <input type="checkbox" onclick="if ( this.checked 
> ){copyData()}else{document.forms[0].reset();}" name="Spare" value="Yes">
>
> Can I add: onSubmit="return confirm('Are you sure?'); to the top Input type? 
> Do I put && between them?
>
> Thanks.
>
> Robert O.
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235044
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to