I'm not sure if anyone had this issue, but when using jquery to submit a questionnaire form, the post dies because the submit button is named name="submit". From what I understand, it's never a good idea to name elements with reserved words.
I think the changes to make it work are pretty simple. I tested it in v1.9.10 and it worked.
// CHANGE IN ./locallib.php
//FROM THIS (line 228)
if (isset($viewform->submit) && isset($viewform->submittype) &&
//TO THIS
if (isset($viewform->qsubmit) && isset($viewform->submittype) &&
//FROM THIS (line 509)
if(!empty($formdata->submit)) {
//TO THIS
if(!empty($formdata->qsubmit)) {
//FROM THIS (line 643)
<input type="submit" name="submit" value="'.get_string('submitsurvey', 'questionnaire').'" /></div>';
//TO THIS
<input type="submit" name="qsubmit" value="'.get_string('submitsurvey', 'questionnaire').'" /></div>';
// CHANGE IN ./report.php
//FROM THIS (line )
echo "<input type=\"submit\" name=\"submit\" value=\"".get_string('download', 'questionnaire')."\" />\n";
//TO THIS
echo "<input type=\"submit\" name=\"qsubmit\" value=\"".get_string('download', 'questionnaire')."\" />\n";