default.php
Código PHP:
<script type="text/javascript" src="java.js"></script>
<div id="server"></div>
<select onchange="get1('server',this.value)">
<option value="3" selected="selected">Top 1</option>
<option value="2">Top 2</option>
<option value="0">Top 3</option>
</select>
<div id="rank"></div>
<select onchange="get2('rank',this.value)">
<option value="4" selected="selected">Rank 1</option>
<option value="5">Rank 2</option>
</select>
Código PHP:
var serverid = "3";
function get1(objServer, _serverid) {
AdRequestHTML.$GenerateHTML('top.php?serverid=' + _serverid, objServer);
serverid = _serverid;
}
var rankid = "4";
function get2(objRank, _rankid) {
AdRequestHTML.$GenerateHTML('rank.php?rankid=' + _rankid, objRank);
rankid = _rankid;
}
saludos