[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 Barry Treahy <treahy@mmaz.com> ******
It might go back to one of my earlier problems with the way that the form is POSTed using javascript. I
have to be explicit:
<INPUT TYPE="checkbox" NAME="[quantity-name]" ONCLICK="document.forms[0].action='[process-target]',
document.forms[0].submit()" VALUE="0"> and it would there work regardless of location...
Barry
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
-
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