[thelist] Form generated in JS doesn't work in IE
Chris Price
chris.price at choctaw.co.uk
Thu May 29 09:33:25 CDT 2008
kasimir-k wrote:
> Chris Price scribeva in 2008-05-28 17:03:
>
>> I have a form generated in javascript which works fine in FF but refuses
>> to work in IE.
>>
>
> Instead of this:
>
>
>> var myOption = document.createElement('option');
>> myOption.setAttribute('VALUE',i);
>> myOption.appendChild(document.createTextNode(myArray[i]));
>>
>
> try this way:
>
> var myOption = new Option(myArray[i], i);
Can you explain this because I'm just ending up with a blank form -
unless I'm misunderstanding you.
--
Kind Regards
Chris Price
Choctaw
chris.price at choctaw.co.uk <mailto:chris.price at choctaw.co.uk>
www.choctaw.co.uk <http://www.choctaw.co.uk>
Tel. 01524 825 245
Mob. 0777 451 4488
Beauty is in the Eye of the Beholder while
Excellence is in the Hand of the Professional
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Sent on behalf of Choctaw Media Ltd <<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Choctaw Media Limited is a company registered in
England and Wales with company number 04627649
Registered Office: Lonsdale Partners, Priory Close,
St Mary's Gate, Lancaster LA1 1XB . United Kingdom
More information about the thelist
mailing list