This is kind of what @gov was talking about but basically I would just capture the submit of the form:
<form id="myform" onsubmit="return mySubmitHandler()">
Then have a function to handle the submission:
function mySubmitHandler()
{
// the following are just examples of what you could do
var q1val = jQuery('#q1').val();
var q2val = jQuery('#q2').val();
if(q1val + q2val > 5)
jQuery('#success').show();
else
jQuery('#fail').show();
// end example
return false; // this keeps the form from doing a postback
}