dyanamo
Senior Member
(HTML) Ok heres the deal. I have a drop down box and a button that submits data on page www.website.net. User has to logon and a session/cookie is created with user details. What I want to do is every say 30 min change the value of the drop down box and submit it. The webpage will always stay open. Must run in realtime (possibly Javascript)
heres the code
<script type="text/javascript">
function send_region() {
var frm = document.getElementById("frm_region");
frm.method = "post";
frm.action = "status.php";
frm.submit();
}
</script>
<form name="frm_region" id="frm_region">
<table>
<tr><td valign="top">Region: </td>
<td> <select id="region" name="region">
<option value="1">Center</option>
<option value="2">Top</option>
<option value="3">Bottom</option>
<option value="4">Fountain</option></select></td>
<td><input type="button" value="Teleport" onClick="return send_region()" /></td></tr>
<tr><td> </td><td colspan="2"> <span style="font-size:11px;">** cost:
50 gold</span>
</td></tr>
</table>
So in a nut shell all I want to do is change the option value every 30min and submit it well im not at the computer. Is this possible? Only have public access to the webpage as its not mine.
heres the code
<script type="text/javascript">
function send_region() {
var frm = document.getElementById("frm_region");
frm.method = "post";
frm.action = "status.php";
frm.submit();
}
</script>
<form name="frm_region" id="frm_region">
<table>
<tr><td valign="top">Region: </td>
<td> <select id="region" name="region">
<option value="1">Center</option>
<option value="2">Top</option>
<option value="3">Bottom</option>
<option value="4">Fountain</option></select></td>
<td><input type="button" value="Teleport" onClick="return send_region()" /></td></tr>
<tr><td> </td><td colspan="2"> <span style="font-size:11px;">** cost:
50 gold</span>
</td></tr>
</table>
So in a nut shell all I want to do is change the option value every 30min and submit it well im not at the computer. Is this possible? Only have public access to the webpage as its not mine.