faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

8 of 26 people (31%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

For both IE and NS I have various Options displayed on a page I would like to be able to change the option seen using a script . How do I do it.

Apr 4th, 2008 20:48
ha mo, Colin Fraser, Peter Richards,


try 
<SCRIPT LANGUAGE="javascript"> <!--hide script
var bname = navigator.appName
if (bname == "Netscape" ) {
    document.write('netscape options list <br>')
else
    document.write('ie options list <br>')
}
 --> </script>
this will take care of Netscape, Opera and IE, dont know about any of 
the others.
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com