Alright, I think 3 hours of feeling like an idiot and searching and then feeling even more stumped is grounds enough to post here.
I am basically just practicing with javascript (Just started a few days ago) and wanted to create an array that pretty much checked a form for errors, listed errors, then spewed them out in the end.
I am sure there is source code for something like this, but I wanted to just do this out of practice, as I have done this before in PHP.
I am basically making a function with a bunch of if statements and if any of them pop up I try to PUSH a string into the array. Now, it has worked, somewhat and sometimes. But then it just plain stopped working.
I played with the code for a while, placing alerts in parts of the function and found that it WAS the push code that stopped it from running completely. Can anyone help? I honestly don't think posting my code will help. Can a Push not exist in an If statement?
[Yes, I have tried to old LENGTH fashion way of doing it. NO my software is not outdated]