Hi,
an******@hotmail.com wrote:
<script type="text/javascript">
<!--
Using <!-- ... --to "hide" code from browsers is prehistorical. You
should remove this.
var Login1_UserNameRequired = document.all ?
document.all["Login1_UserNameRequired"] :
document.getElementById("Login1_UserNameRequired") ;
This doesn't handle browser with neither document.all nor
document.getElementById (Netscape 4 comes to mind). Granted, Netscape 4
is obsolete, but so is document.all...
if (Login1_UserNameRequired)
{
Good practice. But what do you do it it's not defined? A good error
handling is the difference between a professional looking product and an
amateurish website.
// etc etc
}
-->
</script>
Greetings,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering:
http://www.galasoft-LB.ch
PhotoAlbum:
http://www.galasoft-LB.ch/pictures
Support children in Calcutta:
http://www.calcutta-espoir.ch