[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Recalculate
>
> If by 'recalculate' you're just wanting the cart to reload and take note of
> any changes in quantity etc, then I just put the cart into a form:
>
> <form action="[process-target secure=1]" method="POST" name="basket">
> <input type="hidden" name="mv_session_id" value="[data session id]">
> <input type="hidden" name="mv_doit" value="refresh">
> <input type="hidden" name="mv_orderpage" value="ord/basket">
> ...... cart goes here ......
>
> </form>
>
> then for a recalculate link just have:
>
> <a href="javascript: document.basket.submit();">Recalculate</a>
>
I'd advise that you just stick with form buttons. People (like me)
can and do switch JavaScript off. I switch it off for testing and
forget to switch it back on. Others just switch it off because they
don't like it.
If I find a site that appears not to work, I don't mess about with
my browser options to try to find the problem - I just go elsewhere.
I suspect that others do the same.
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/