[ic] need help with [item-accessories]
Jason Kohles
jkohles@redhat.com
Fri, 27 Apr 2001 18:05:39 -0400
On Fri, Apr 27, 2001 at 11:26:00PM +0200, Heinz Toedter wrote:
> Hello list!
>
> I need a bit help regarding the [item-accessories ..] tag. I use it in
> ord/basket and checkout in combination with a size field. The problems
> is, that we have different prices for different sizes. I use the
> [item-accessories ..] in the standard drop-down menu form, and i have a
> "recalculate" button on that page. That works fine, but some people have
> problems and do not click on recalculate, so the change is lost.
> What i need is an auto-reload off the page, when the selected field
> changes. In javascript that would be an "on change" field, how can i do
> this in interchange?
>
You can do this with either the extra or js arguments to the tag:
[item-accessories ... js='onChange="this.form.submit();"']
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com