function pollSubmit() {
if (!checkData()) {
alert("보기를 선택하세요");
return;
}
document.bbsForm.action = "/_c21_/article_poll_vote";
document.bbsForm.grpid.value = "25R5";
document.bbsForm.mgrpid.value = "";
document.bbsForm.fldid.value = "Q6zw";
document.bbsForm.dataid.value = "423";
document.bbsForm.pollseq.value = "";
document.bbsForm.return_url.value = "/_c21_/bbs_read?grpid=25R5&fldid=Q6zw&contentval=0006pzzzzzzzzzzzzzzzzzzzzzzzzz&selectyn=Y&edge=F&page=1&prev_page=0";
document.bbsForm.submit();
}
function checkData() {
var choice = document.bbsForm.article_poll_fldpoll_egseq;
if(choice.length > 0) {
for(i = 0; i < choice.length; i++)
if (choice[i].checked) return true;
} else {
return choice.checked;
}
}
function popup(szURL, szName, iWidth, iHeight) {
window.open(szURL, szName, 'width=' + iWidth + ',height=' + iHeight + ',resizable=no,scrollbars=no');
}
//
건재상이나 철물점에 아무리 연락해봐도 팔지를 않네요^^ |
|