Results 1 to 2 of 2

Thread: x is not defined

  1. #1
    Join Date
    Nov 2008

    x is not defined

    I have a simple script that isn't working. Error console says x is not defined and points to "document.wrl_addresschange1.form.submit();" Is there a syntax error of is there a file that it can't locate? Thanks

    <script type="text/javascript">
    function valAddrCh1(){
    if ( (document.wrl_addresschange1_form.infotochange[0].checked != true )&&(document.wrl_addresschange1_form.infotochange[1].checked != true)&&(document.wrl_addresschange1_form.infotochange[2].checked != true)&&(document.wrl_addresschange1_form.infotochange[3].checked != true )&&(document.wrl_addresschange1_form.infotochange[4].checked != true) )
    alert("Please Select the information you want to change ");
    return false ;
    else {
    return true;


  2. #2
    Join Date
    Feb 2008
    There's no x referenced in that function at all so you're looking at the wrong source line.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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