Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Need help with button tags


Message #1 by "Chris Cote" <cotec@s...> on Tue, 12 Feb 2002 15:54:59
Why you have to use <botton> in IE and <input type=button> in NS.
You can use <input type=button> in both browsers.

Oleg

-----Original Message-----
From: Chris Cote [mailto:cotec@s...]
Sent: February 12, 2002 10:55 AM
To: JavaScript HowTo
Subject: [javascript_howto] Need help with button tags


I have a page where I use some <button> tags.  Unfortunately, of course,
Netscape doesn't like this tag.  So instead, what I thought I'd do is
check to see if the browser is IE or not.  If it is an IE browser, then
I'll display the <button>s, otherwise I'll simply use the <input
type="button"...> tags.  I can't figure out how to do this in Javascript
within a page.  Can someone help?

Chris Cote
$subst('Email.Unsub').


  Return to Index