• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JS in Firefox works fine but not in IE

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,
I cant seem to find the problem with my javascript.
I cannot retrieve the value from my drop down menus as they are empty when added to a list box in IE6.
It seems to work fine in Firefox 1.5, but doesnt in IE6
coudld someone tell me how to fix it? or something else i can do to resolve the problem. I have included the entire javascript in question.
Thanks
Jai

This is the Javascript Code
2 Dropdown menu's named and id'd as "therapy" and "therapist".
This seems to be the problem specifically.

Thanks

[ December 16, 2005: Message edited by: Jai Parmar ]
 
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
if therapy and tharepist are dropdowns, instead of

formObject.therapy.value
formObject.therapist.value

try to use

formObject.therapy.options[formObject.therapy.selectedIndex]
formObject.therapist.options[formObject.therapist.selectedIndex]
 
Jai Parmar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the response.
Sadly that didnt actually work i still get the same situation occuring.
even if i do this



it still doesnt work?

do you think its something to do withe the javacscript version that IE uses?
Jai
 
Jai Parmar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please could someone help me with this issue!
 
reply
    Bookmark Topic Watch Topic
  • New Topic