SyntaxError; missing ; before statement
Hi, I'm very much a novice to JavaScript, so what is likely a simple resolution is baffling me as to why I'm getting the "SyntaxError; missing ; before statement 1:at line 2" error message in the following code:
If (event.value==”Today”) this.getField(“AP”).value = “East”;
else if (event.value==”Tomorrow”) this.getField(“AP”).value = “North”;
else this.getField(“AP”).value = “”;
I have a drop-down list and want to populate another field "AP" based upon what the user selects from the list, but that error message occurs and I don't understand why.
Thanks for your help!
