Ok I am using the following script to select an option from a select list in IE, what I would like to know is how to get it to work in Netscape
This script is run from a spawned window, it either has a date passed to it or if there is not date it grabs todays date and uses that (what it is doing here)
var d = new Date();
window.opener.document.UpdateSuburb.dayStarted.value = (d.getDate());
It is to select the day of the month from this select box:
<select name="dayStarted">
<option value="1">1</option>
<option value="2">2</option>
etc...
</select>
Anyone have any ideas on this one?
thanks
This script is run from a spawned window, it either has a date passed to it or if there is not date it grabs todays date and uses that (what it is doing here)
var d = new Date();
window.opener.document.UpdateSuburb.dayStarted.value = (d.getDate());
It is to select the day of the month from this select box:
<select name="dayStarted">
<option value="1">1</option>
<option value="2">2</option>
etc...
</select>
Anyone have any ideas on this one?
thanks