I think your onclick handler needs to return false to prevent the form from being submitted. Try
onclick="purchase_new('new_form'); return false"
In reply to Re: [OT] How avoid form submitting?
by almut
in thread [OT] How avoid form submitting?
by xiaoyafeng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |