Gel, just change the input type to "button" as follows.

<input type="button" value="delete" 

onclick="javascript:document.Timeentry_billable.action='timeentry_deletechar
geinfo.
cfm';document.Timeentry_billable.submit();" 

class="buttons">

That should do the trick.

Cheers, Craig.

-----Original Message-----
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: 13 November 2001 21:45
To: CF-Talk
Subject: More OT Javascript: Dual Submit Buttons on One Form.


There really should be a single repository for information about these
common JS tasks that nearly all CF Programmers will need to use sooner
or later :)


<input type="submit" value="delete" 

onclick="document.Timeentry_billable.action='timeentry_deletechargeinfo.
cfm';document.Timeentry_billable.submit();" 

class="buttons">

Now..this matches what people sent me...but for some reason I keep
getting Object Does not Support This Method. :-\
Any ideas?

Also..do you all know of a good Javascript resource in the CF Community
that has these common methods?

-Gel



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to