Click here to Skip to main content
15,901,035 members

Comments by talamar3 (Top 2 by date)

talamar3 5-Feb-11 23:46pm View    
Here is where the issue happens :
<script>
randNum = Math.floor((Math.random() * 10)) % intToTestCnt;
strToTestType = strToTest[randNum];

document.JobOp.given.value = strToTestType; <------ first error happens here
document.JobOp.typed.focus(); <------ this is the second error
</script>

The form is named "JobOp". The variables are all valid, initialized and not null. For some reason, it does not recognize JobOp as an object.
talamar3 5-Feb-11 22:57pm View    
Yeah, I thought of that... However, I already have a form tag in my header (that holds my login) from the master page. Anytime I add the 'runat="server"' I get the message 'A page can have only one server-side Form tag.'