This will submit all form elements via ajax when 'button'
is clicked
$('button').click(function() {
$('form').each(function() {
$.post(this.action, $form.serialize());
});
});
Note that this will not refresh the page, as they are all submitted via ajax...
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…