You return false in the click event, but unfortunately it will not stop the send action. If you have the option not to use a real-time event listener, you can always simply view the submit action using the bind () method.
jQuery('.verwijder').bind('submit', function() {
return false;
});
, , - , , , , .
$(function() {
bind_submits();
$('#addForm').live('click', function() {
add_form();
});
});
function bind_submits() {
jQuery('.verwijder').unbind('submit').bind('submit', function() {
return false;
});
}
function add_form() {
bind_submits();
}
, , live() ( , , livequery). , , .
jQuerying...