Hi
There is a <select name='city'item with <optionin the HTML <form
name='france'>
I have tried using the following in a JS routine:
<a
href="javascript:window.opener.document.france.cit y.options[21].selected=true;
window.close();"></a>
I get
Error Line 0
'window.opener.document.france.city.options.21 is null on not an object
Is the syntax correct?
I have tried the following on an <input type='text' and it works OK.
<a href="javascript:window.opener.document.france.ind ustry.value='iron';
window.close();"></a>
Regards
John
--------------------------------------------------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 97721 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!