This would ONLY make sense if you ONLY want to submit the form by clicking on #request-link. In that case you can combine it to
Code:
$("#request-link").live("click", function () {
$("#request").submit(function() {
$.ajax({
type: "POST",
cache: false,
url: "forms/add.php",
data: $(this).serialize(),
success: function (data) {
$('#result').html(data);
}
});
return false;
}).submit();
});
This will bind the .submit() handler ONLY when you click on the #request-link!