[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: Remove checkbox in shopping cart must be before quantity textbox
****** message to minivend-users from "Thompson-Jordan" <Thompson-Jordan@mindspring.com> ******
> ****** message to minivend-users from Ryan Hertz
> <rhertz@gyb.baits.com> ******
>
> Very interesting! It might have something to do with the two
> inputs having
> the same name. Which may be the customer's/your browser freaking out
> (javascript is client-side).
Is it possible to make the names different, perhaps with an ActionMap?
> I use an older javascript code: onClick="document.forms[0].submit()" and
> that's it, I'm not sure what your onclick is trying to do...
I think "document.forms[0]" and "this.form" are equivilant. There are
several forms on my basket.html: login, checkout(secure),
delete/quantity/recalculate(not secure), so I'm not sure which form[?] is
which.
> That method, which I guess is a 'simple' relic, may be a bit of a hack.
> Perhaps there is a better way, maybe using Minivend tags to
> remove the item??
Any ideas?
> At 04:38 PM 3/24/99 , Thompson-Jordan wrote:
> >****** message to minivend-users from "Thompson-Jordan"
> <Thompson-Jordan@mindspring.com> ******
> >
> >Here is something that I discovered regarding the remove box on in
> >basket.html. It seems the order that you place the remove
> checkbox and the
> >quantity textbox matters. The remove checkbox must appear first to work
> >correctly.
> >
> >This doesn't work:
> > <input type="text" name=[quantity-name]
> value="[item-quantity]" size=3>
> > <INPUT TYPE=checkbox NAME="[quantity-name]"
> > onClick="this.form.action='[process-target]',
> > this.form.submit()"
> > VALUE="0">
> >
> >This works:
> > <INPUT TYPE=checkbox NAME="[quantity-name]"
> > onClick="this.form.action='[process-target]',
> > this.form.submit()"
> > VALUE="0">
> > <input type="text" name=[quantity-name]
> value="[item-quantity]" size=3>
> >
> >This is one of those annoying things that wastes ones time. Does anyone
> >know how to make it work with the remove checkbox after the textbox? I
> >would like to place it below the quantity textbox.
> >
> >Christopher Thompson
> >
> >-
> >To unsubscribe from the list, DO NOT REPLY to this message.
> Instead, send
> >email with 'UNSUBSCRIBE minivend-users' in the body to
> Majordomo@minivend.com.
> >Archive of past messages:
http://www.minivend.com/minivend/minivend-list
>
Ryan Hertz tel 520-645-3812
Webmaster tel 800-645-BAIT
Advertising Director fax 520-645-2588
Gary Yamamoto Custom Baits, Inc. http://www.yamamoto.baits.com
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list