calling parent form? (not sure if thats right)
Moderator: General Moderators
calling parent form? (not sure if thats right)
Currently i'm writing a shopping cart for my site, at the 'view cart" page where it lists all the items i have to option to remove the item or up date its' quantities. Each item has its own form "eg. car1" but each button is named "remove", "update". I know how to detect if a button is pushed but is there a way to call the originating form?
Give each form a hidden variable...
Code: Select all
<input type="hidden" name="formnumber" value="blah" />