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:
<form action="" class="bottomForm" id="voteForm">
<div class="insideBottomLeft">
<span class="step-3">Register your vote</span>
</div>
<div class="insideBottomRight">
<input type="hidden" id="voterappValue"
name="voterappValue" value="replace" >
<input type="hidden" id="voterappCategory"
name="voterappCategory" value="Bloggers">
<input type="submit" value="" class="voteSubmit" >
</div>
</form>
jQuery:
$(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>');
});
});
});
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---