User Profile

Collapse

Profile Sidebar

Collapse
eDaddi
eDaddi
Last Activity: Apr 3 '08, 11:43 PM
Joined: Apr 2 '08
Location: St.Louis, MO.
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • eDaddi
    replied to Problem with simple array loop
    Well I feel stoopid.

    Thanks Acoder.
    See more | Go to post

    Leave a comment:


  • eDaddi
    started a topic Problem with simple array loop

    Problem with simple array loop

    I can't figure out why I cant get this simple loop to work. I'm using it to validate a form. I thought I could put the required field names in an array, loop through the array and have the it check each field. My Firebug error states that 'document.user_ reg.check' is invalid. I figure it should read as 'document.user. c_fname.value' for example.

    [CODE=javascript]
    var check=new Array("c_fname" ,"c_lname","c_t itle","c_org"," c_email","c_ema il2","c_phone", "c_password","c _password2");...
    See more | Go to post
No activity results to display
Show More
Working...