Ashutosh Joshi wrote:
> If you have to do client side validation in a jsp page
> is javascript the only way?
Pretty much. How else would you do it? An applet is another way, but
overkill.
> How do you ensure the code you write will work with
> different Netscape and IE versions?
Learn the ins-and-outs of cross-browser JavaScript. There are whole web
sites devoted to it (you can get some from the DHTML section of my web
page: http://www.gis.net/~sstirlin/). Most cross-browser issues (to my
knowledge) revolve around conflicts between the DOM APIs of Netscape and
InternetExplorer--these crop up around link and image roll-overs, and
GUI-intensive DHTML. Validation of strings of characters and numbers
(making sure an email address is in valid form, or that a zip code field
has the proper number of digits, etc.) shouldn't pose too much of a
problem for cross-browser compatibility.
--
Scott Stirling
Allaire
http://www.allaire.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html