JavaScript uses + for concatenation, not .
Additionally, you should use var name = ... instead of just name = ... to avoid creating a global!
solved “Uncaught SyntaxError: Unexpected string” in javascript
JavaScript uses + for concatenation, not .
Additionally, you should use var name = ... instead of just name = ... to avoid creating a global!
solved “Uncaught SyntaxError: Unexpected string” in javascript