Netscape question

Results 1 to 2 of 2

Thread: Netscape question

  1. #1
    Join Date
    Dec 1969

    Default Netscape question

    I am attempting to obtain the value of some text boxes on my form in a jscript function using document.frmName.txtname.value. However, if there is nothing in the text box, I get the following error in Netscape only:<BR>"document.frmName.txtName has no properties." <BR><BR>So, if there is nothing in my textbox, how do I ascertain that without getting an error in Netscape?<BR><BR>Thanks for any help. <BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default JScript or JavaScript?

    Sounds to me like you are talking client-side JavaScript, not JScript. Yes?<BR><BR>Anyway, it&#039;s some kind of cockpit error on your part. For &#060;INPUT Type=Text&#062; fields, NS and MSIE should work the same.<BR><BR>But NS is fussier about things like &#060;/FORM&#062; tags, etc., and your problem may actually lie in your HTML.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts