At 03:30 PM 3/3/2006, Orlini, Robert wrote:
>Here is what I want to do: <form action="getinventory4.cfm"
>method="POST" onSubmit="return confirm('Are you sure?'); return
>checkform(this);">
>
>Of course it generates an error. But what will work here.
Try this:
<form action="getinventory4.cfm" method="POST" onSubmit="return
(confirm('Are you sure?') && return checkform(this))">
The first function will be executed and, if OK, the second one will.
Regards,
Roberto Perez
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234123
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