Can't get form to submit in FF2
I can't get a form to submit in FF2 (works fine in everything else). I imagine it's a problem in my jQuery. Please let me know if you spot anything!
Html for the form and jQuery below.
HTML:
<pre>
<<span>form</span><span> action</span>=<span>"" </span><span>class</span>=<span>"bottomForm" </span><span>id</span>=<span>"voteForm"</span>>
<<span>div</span><span> class</span>=<span>"insideBottomLeft"</span>>
<<span>span</span><span> class</span>=<span>"step-3"</span>>Register your vote</<span>span</span>>
</pre><pre> </<span>div</span>>
<<span>div</span><span> class</span>=<span>"insideBottomRight"</span>>
<<span>input</span><span> type</span>=<span>"hidden" </span><span>id</span>=<span>"voterappValue" </span><span>name</span>=<span>"voterappValue" </span><span>value</span>=<span>"replace" </span>>
<<span>input</span><span> type</span>=<span>"hidden" </span><span>id</span>=<span>"voterappCategory" </span><span>name</span>=<span>"voterappCategory" </span><span>value</span>=<span>"Bloggers"</span>>
<<span>input</span><span> type</span>=<span>"submit" </span><span>value</span>=<span>"" </span><span>class</span>=<span>"voteSubmit" </span>>
</<span>div</span>>
</<span>form</span>>
</pre>
jQuery:
<pre>$(document).ready(function(){
$("#voteForm").submit(function(event) {
event.preventDefault();
var order0 = $("#voteList ul").sortable("serialize") + "&category=" + $("#voterappCategory").val() + "&update=update";
$.post("voteUpdate.php", order0, function(theResponse){
$(".voteLeft").html(theResponse);
$(".voteTopLeft").html("<div class='results'>Total points</div>");
});
var order1 = $("#voteList ul").sortable("serialize") + "&category=" + $("#voterappCategory").val() + "&refresh=refresh";
$.post("voteRefresh.php", order1, function(theResponse){
$("#listInside").html(theResponse);
$(".voteMidBottom").html('<div id="voterBallotEmpty"> </div>');
});
});
});
</pre>