[OT] Browser compatability
Paul King
sciguy-Ja3L+HSX0kI at public.gmane.org
Sun Sep 14 22:40:45 UTC 2008
Hello
Some time ago, I was playing around with Ajax/JavaScript and CSS and while I
got both to work in Firefox and Opera browsers, I find that Internet Exlplorer,
Safari and Chrome all choke on the Javascript.
All browsers display the CSS all right, but the JavaScript doesn't work in the
dropdown menus for IE, Safari, and Chrome.
Strange part is, the Ajax/JavaScript for all browsers seems to work on the link
at the bottom of the page that says "How this page was put together". And it
indeed work for every browser I tried.
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>
The part that works for everybody is a link that I put together with some
guesswork:
<a onClick="getData('tech_detail.txt', 'jack')" class="jill"><font
color="blue">How this page was put together</font></a>
As you can see, both tags call the same function, and send existing files as
parameters. Both work as expected under Firefox and Opera. However, under the
other browsers, they seem to choke on the form code. Can anyone shed light on
this?
The website is at http://testing.alimentarus.net/index.html
Thanks.
Paul King
--
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