If I may..

Results 1 to 2 of 2

Thread: If I may..

  1. #1
    Join Date
    Dec 1969

    Default If I may..

    If I may ask a javascript question. I am getting an error ("document.fmContact.Mode.value is NULL or not an object") when the second function is called. The first finction fires fine. The hidden object is inside my form and I am giving it&#039;s value inside the function. Can anyone help?<BR><BR>Thanks<BR><BR>function edtAcct() {<BR> document.fmLoginInfo.Mode.value = "AcctInfo";<BR> document.fmLoginInfo.submit();<BR>}<BR>function edtContact() {<BR> document.fmContact.Mode.value = "AcctContact";<BR> document.fmContact.submit();<BR>}

  2. #2
    Join Date
    Dec 1969

    Default RE: If I may..

    1. Check for case sensitivity<BR>2. This problem just happened to me on Monday. Make sure that your JS functions are BELOW the hidden fields you&#039;re trying to set (I had them in the &#060;HEAD&#062; before, and got the same error). Once I moved it down below the hidden fields, everything worked fine.

Posting Permissions

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