holy crap I had no idea that this error console existed...that is going to come in handy..
That being said, I dont understand this error...it says:
"unterminated string literal addRemoveData('2. Transformers."
so it like isnt putting the ' on the end of the string (i think thats what it means)...
but here is my code: onchange=\"addRemoveData('$str');\" it is definitely closed! lol ... make any sense?
edit: Oh, now that I see that is missing everything AFTER the string, looking at the page source it is on the next line...so perhaps each line of the string has an enter at the end 😃
ok, got it!! i just went like this: $display = substr($str,0,strlen($str)-4); and used that instead of $str, to get rid of the enter space