andrewG
04-18-2011, 06:45 AM
Hello fellow programmers,
I am having some trouble with my javascript doing what I want it to, which is returning values (true/false || 1/0).
I haven't used much javasript but I am experienced with C#, Java, Python etc so this is sort of new to me syntax wise.
Here is what I have so far:
http://jsfiddle.net/HpSyJ/1/
note: for some reason css doesn't like jsfiddle :S, the error messages are hidden in my Notepad++ & firefox combo though
Really all I want is when I hit submit, it runs an alert or changes the error message to visible.
Can someone please have a quick read over and see if anything jumps out at them?
Thanks in advance, Andrew
I am having some trouble with my javascript doing what I want it to, which is returning values (true/false || 1/0).
I haven't used much javasript but I am experienced with C#, Java, Python etc so this is sort of new to me syntax wise.
Here is what I have so far:
http://jsfiddle.net/HpSyJ/1/
note: for some reason css doesn't like jsfiddle :S, the error messages are hidden in my Notepad++ & firefox combo though
Really all I want is when I hit submit, it runs an alert or changes the error message to visible.
Can someone please have a quick read over and see if anything jumps out at them?
Thanks in advance, Andrew