arwar49
asked on
html address
hopefully this is easy one.
i have a web page that has a combo box as follows:
</select><select name="ctl00$PSDDL" onchange="javascript:setTi meout('__d oPostBack( \'ctl00$PS DDL\',\'\' )', 0)" id="ctl00_PSDDL">
<option selected="selected" value="american">American< /option>
<option value="decimal">Decimal</o ption>
<option value="hongkong">Hong Kong</option>
</select>
if the url is http://xyz.com how do i add to the url to force it to display decimal rather than hongkong or american??
something like http://xyz.com?ctl00_PSDDL=decimal
i have a web page that has a combo box as follows:
</select><select name="ctl00$PSDDL" onchange="javascript:setTi
<option selected="selected" value="american">American<
<option value="decimal">Decimal</o
<option value="hongkong">Hong Kong</option>
</select>
if the url is http://xyz.com how do i add to the url to force it to display decimal rather than hongkong or american??
something like http://xyz.com?ctl00_PSDDL=decimal
location.href='http://xyz.com?ctl00_PSDDL='+document.GetElementById('ctl00_PSDDL').options[document.G etElementB yId('ctl00 _PSDDL').s electedInd ex].value;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i solved it myself