in reply to [OT] How avoid form submitting?
I think your onclick handler needs to return false to prevent the form from being submitted. Try
onclick="purchase_new('new_form'); return false"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: [OT] How avoid form submitting?
by xiaoyafeng (Deacon) on Jun 24, 2010 at 10:01 UTC |