[OT] Browser compatability

Ian Petersen ispeters-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sun Sep 14 23:00:19 UTC 2008


On Sun, Sep 14, 2008 at 6:40 PM, Paul King <sciguy-Ja3L+HSX0kI at public.gmane.org> wrote:
> The part that IE chokes on are dropdowns such as:
>
> <form action="POST">
>        <select>
>        <option value = "">Select a country</option>
>    <option  value = "Australia"
>      onclick = "getData('intfoods/australia.txt', 'jack')">Australia
>    </option>
>    </select>
> </form>

Guessing here, but I think you need to get rid of the onclick on the
<option> and replace it with an onchange (or maybe onclick? don't
remember) on the <select>.  You'll then have to derive the URL from
the selected-option's value, possibly using the selectedIndex
attribute of the <select>.

Ian
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list