[jQuery] Ajax / Form Validation

[jQuery] Ajax / Form Validation


I have a form that gets submitted via AJAX, now i want to add the validation
but cant make sense of it.
Using malsup form script to submit,
Now I would like to incorporate the jQuery Validation Plug-in found on
http://jquery.bassistance.de/validate/demo/index.html

I currently have this so submit:

<script type="text/javascript">
$(document).ready(function() {
$('#testForm').live("click", function(){
$('#testForm').bind('submit', function() {
var queryString = $('#testForm').formSerialize();
var id = '<?php echo $id; ?>';

$(this).ajaxSubmit({
type: 'post',
     url: '/manage/experiences/edit/123',
data: queryString,
target: '#updateMe',
success: afterEffects
});

return false;
});
});

function afterEffects ()
{
$.fn.colorbox.close();
}


})
</script>
But how do I add in the validation script into this? Any help would be
greatly appreciated.
Thanks

Dave