<script type="text/javascript">
$(document).ready(function(){
$("#myform").validate({
debug: false,
submitHandler: function(form) {
// do other stuff for a valid form
$.post('votenew.php', $("#myform").serialize(), function(data) {
$('#container').html(data);
});
}
});
});
</script>
I have made a container that contains all of the divs. This code works perfectly in every ot开发者_如何转开发her browser except IE. In IE, the Div where the button is clicked, disappears. I can not seem to fix this problem. Any ideas?
精彩评论