Dreamweaver is tellin me there is a syntax error in this line of my code.
if (event.keyCode > 40 || event.keyCode == <img src="./images/smilies/icon_cool.gif" alt="8)" title="Cool" /> {
Could this be my cause of it not working right???
followed directions and i know what to do with the jquery library but still not workin
(can post full code if needed)
Syntax Error in my javascript code
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Syntax Error in my javascript code
It looks like it might be a quoting problem. It looks like it might be a quoting problem.It needs to be:
if (event.keyCode > 40 || event.keyCode == "something here") {
if (event.keyCode > 40 || event.keyCode == "something here") {
(#10850)