[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Javascript error with Place Order button.
> On 25 Nov 2002 at 0:02, Cameron wrote:
>
> >
> > > > When trying to submit an order using this button:
> > > >
> > > > [button
> > > > name="mv_click"
> > > > src="__IMAGE_DIR__/continue_on.gif"
> > > > text="Place Order"
> > > > hidetext=1
> > > > form=checkout
> > > > ]
> > > > mv_todo=submit
> > > > [/button]
> > > >
> > > > it is returning a javascript error as follows:
> > > >
> > > > Error: 'checkout.mv_click_Place_Order' is null or not an object
> > > > Code: 0
> > > >
> > > > The funny thing is, the javascript source being generated is
*precisely*
> > the
> > > > same as for another page with exactly the same [button] tag, all bar
the
> > > > actual image name. That other page works, this one doesn't. Anyone
have
> > any
> > > > ideas?
> > > >
>
> Do you have anything else on that page that has 'name=checkout'? ie.
> rollover buttons, another form?
> Nora
>
Mwah!!!!! yes!!!!! that's it!!!! the so-called front end designer sitting
next to me thought it'd be a good idea to have name="checkout" in an img
tag, so that "i would be able to find them easier when i was looking at the
source". i missed it because it was in a template file, not in the source of
the cart itself. ugh, anyway, problem solved!
Thank you *SO* much, i'll sleep soundly tonight :)