Onclick and listbox works for Opera but not IE

Hi there, here is a little snip of code that almost works. If anybody knows the trick, I would appreciate your sharing. Idea is for an editable field to appear when the user chooses “Other” in a list:

Thank you!


Subject: onclick and listbox works for Opera but not IE

Not everything fires an onclick in every browser. that being said, it sounds like what you should be using is onchange rather than onclick.

Subject: onchange / listbox works for Opera, too, but not IE

Hello Stan,I have solved a number of problems with your help in my countless searches of this forum. Thank you for your comment! You must feel a bit like a broken record on this one as I believe I have gone through all your posts that touch on the subject. I still have a lot to learn, though…

This particular exchange with your contribution seems to hold the key, but I’m still lost:

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/881a97d40156906785256f9700604bcd?OpenDocument

I’m thinking this has been done before… an “other” combined with a field that appears when “other” is selected. I know I could do it with radio buttons or checkboxes, but drop-down would be ideal in this specific case.

Thanks for any further hints.

Pi

Subject: got it to work…

Sean Haggerty who posted generously with “hope that you profit from my pain” included some code that seems to solve my problem.

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/d7848c23ae8d7df885256e6000216008?OpenDocument

Here’s what seems to work now: