Link to home
Start Free TrialLog in
Avatar of snarinsky
snarinskyFlag for United States of America

asked on

innerText does not work in Mozilla FF

Dear Experts,

I'm changing classic ASP web App so that it works in all Browsers.
The main issue is JavaScript and I use Mozilla Web Developer to track the JS errors.

I faced this problem:
I have a JS Function

<SELECT name="Agency" id="Agency" size=7 style="WIDTH:150px;" onChange="AgencySelected.innerText=Agency.options(selectedIndex).text">

And Mozilla Web Developer gives me Agency.Options is not a function.
How do I fix this?

Thank you!
ASKER CERTIFIED SOLUTION
Avatar of Toms Edison
Toms Edison
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of snarinsky

ASKER

Thanks TechTiger007!
Works like a charm :)