I get that all of the time. Name your submit button something else. I think it has a default name as submit, so when you call the submit method:
document.Timeentry_billable.submit(); It thinks you are referring to the submit button, not the form's method. so you need something like: <input type="submit" name="MyDeleteButton" value="delete" > -Craig ----- Original Message ----- From: "Angel Stewart" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, November 13, 2001 3:44 PM 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

