Javascript not submitting hidden field value

nightstalker

New Member
I have basic example of submitting a value to a hidden. But its seems not to want to take my value in my function. Maybe there us something am missing.\[code\]<script language="JavaScript">function submitForm() {document.statusform.do.value = "http://stackoverflow.com/questions/15596283/checkstatus";document.statusform.submit();}</script><form action="" method="GET" enctype="multipart/form-data" id="statusform"><input type="hidden" name="do" id="do" value=""><input type="submit" class="button" name="submit" value="http://stackoverflow.com/questions/15596283/Resume Request" onClick="submitForm();" /></form>\[/code\]
 
Back
Top