Home >Web Front-end >JS Tutorial >JS hidden parameter post value transfer example_javascript skills

JS hidden parameter post value transfer example_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:36:271261browse

Copy code The code is as follows:



<script> <br>function forwardTo(rid){ <br>document.getElementById('mid').value=rid; //Assign value to hidden field field<br>//alert(document.getElementById( 'mid').value);<br>document.form1222.submit(); //Submit the form<br>} <br></script>

jsfdh
Campus Recruitment< ;/a>