Hi javascript support team ;-)

Got a cross-browser problem this time. I have the following working in IE:

        function set_list(id_number){
                document.main.myitemlist.value=id_number;
        }

myitemlist refers to <select name="myitemlist"> in the form "main", which is
loaded with options like this:

<option value="454545">This track
<option value="454546">That track
<option value="454547">Another track

I use this code to fire the function:

        <a href="454545.ram" onclick="set_list('454545')">
        <a href="454546.ram" onclick="set_list('454546')">
        <a href="454547.ram" onclick="set_list('454547')">
        etc...

The code works fine in IE4 (PC) : when the user clicks the audio track link
the corresponding item becomes selected in the "myitemlist" select box, but
in NS4.5 (PC) nothing happens, not even a javascript error.

Wish I could show you this code, but it's on an intranet. :-(

As always, any help is appreciated. None of my javascript books are giving
me any clues.

Thanks,
Jack

____________________________________________________________________
--------------------------------------------------------------------
 Join The NEW Web Consultants Association FORUMS and CHAT:
   Register Today at: http://just4u.com/forums/
Web Consultants Web Site : http://just4u.com/webconsultants
   Give the Gift of Life This Year...
     Just4U Stop Smoking Support forum - helping smokers for
      over three years-tell a friend: http://just4u.com/forums/
          To get 500 Banner Ads for FREE
    go to http://www.linkbuddies.com/start.go?id=111261
---------------------------------------------------------------------

Reply via email to