I have Beyonds voting popups In my wow websites, when people vote they have to put there account so they can win a prize but what do i have to do so when they put their account and vote i get like a notepad with the account name or like an email here is the code part
Enter your account name:
<label>
<input name="textfield" type="text" maxlength="15">
</label>
<div align=center>
<input type="button" style="width: 70px; height: 25px" onClick="document.getElementById('root').style.visibility = 'hidden'; createCookie('cdvote', '1', '1'); document.forms['xth'].submit()" value="VOTE!"> &n bsp; <input type="button" style="width: 50px; height: 25px" onClick="document.getElementById('root').style.visibility = 'hidden'; return false" value="Close"></div>
</div>
</div>
<script type="text/javascript">
Drag.init(document.getElementById("handle"), document.getElementById("root"));
if (readCookie('cdvote') != 1) {
document.getElementById('root').style.visibility = "visible";
}
</script>
<script language="javascript">
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/3 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=' +scroll+',resizable'
win = window.open(mypage,myname,settings)
}
</script>