mrdude
03-18-2009, 09:17 PM
Hi just now I have a http web page with the following code:
<html>
<head>
<script language="javascript">
<!--
function reset_modem() {
reset_form.submit();
}
-->
</script>
</head>
<body onload="reset_modem()">
<form name="reset_form" id="reset_form" method="post" action="http://192.168.100.1/configdata.html">
<input type="show" name="BUTTON_INPUT" value="Restart Cable Modem">
</form>
</body>
</html>
How would I use the http submit function to make a button do the same thing without needing to load this http page into a web object?
Can it be done - or does the http submit only work with php pages?
Thanks.
<html>
<head>
<script language="javascript">
<!--
function reset_modem() {
reset_form.submit();
}
-->
</script>
</head>
<body onload="reset_modem()">
<form name="reset_form" id="reset_form" method="post" action="http://192.168.100.1/configdata.html">
<input type="show" name="BUTTON_INPUT" value="Restart Cable Modem">
</form>
</body>
</html>
How would I use the http submit function to make a button do the same thing without needing to load this http page into a web object?
Can it be done - or does the http submit only work with php pages?
Thanks.