Regarding your first email: I think you have the right idea - you can change the action attribute on the fly. I dunno - maybe your reference to the form object in the DOM is wrong? What happens if you simply:
alert(document.form1.action) - Jim, not a Javascript guru Angel Stewart wrote: >Yeah I know..but isn't there also a way to change the actual form it >gets submitted to depending on which button is pressed? > >-Gel > > >-----Original Message----- >From: Raymond Camden [mailto:[EMAIL PROTECTED] > >Just use different names... > ><input type="submit" name="add" value="Add Me, Baby!"> ><input type="submit" name="delete" value="Send me to Hell!"> > >In your form action area, you can check to see if form.add or >form.delete exists, and depending on which exists, do A or B. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:5 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
