|
|
@ -19,9 +19,19 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
function submit_quote()
|
|
|
|
function submit_quote() {
|
|
|
|
{
|
|
|
|
$('#error_show').html('');
|
|
|
|
|
|
|
|
var selected = false;
|
|
|
|
|
|
|
|
for(var i = 0; i < $("input[name='polls[]']").length;i++){
|
|
|
|
|
|
|
|
if($("input[name='polls[]']")[i].checked){
|
|
|
|
|
|
|
|
selected = true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (selected){
|
|
|
|
$('#submit_quote').parent().submit();
|
|
|
|
$('#submit_quote').parent().submit();
|
|
|
|
closeModal();
|
|
|
|
closeModal();
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
$('#error_show').html('您没有选择任何问卷');
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|