You could do something like: onclick="this.form.action = 'index.cfm?action=remove'; submit();"
Or check out fusionScript.org or .com. > -----Original Message----- > From: "Owens [mailto:"Owens] > Sent: Friday, 14 February 2003 2:04 p.m. > To: CF-Talk > Subject: OT: JavaScript: using Submit() > > > I'm trying to do something like this: > > <input type="checkbox" name="remove" value="#ThisVal#" > onclick="javascript: > submit('form.action=index.cfm?action=remove');"> > > But that's not working. > > Basically, I have this check box in the middle of a form that > sort of needs > to behave like a form within a form. If the checkbox is > clicked, I want > that form to get submitted as that checkbox serving as a single form > element. > > H. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Howard Owens > Internet Operations Coordinator > InsideVC.com/Ventura County Star > [EMAIL PROTECTED] > AIM: GoCatGo1956 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

