Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for JavaScript - Uncaught SyntaxError: Unexpected token ?

Current License: CC BY-SA 3.0

Post Revisions

13 events
when toggle format what by license comment
Jun 9, 2018 at 12:56 review Close votes
Jun 13, 2018 at 0:01
S Jul 12, 2012 at 7:46 history suggested Daedalus CC BY-SA 3.0
properly format code
Jul 12, 2012 at 3:12 vote accept test
Jul 12, 2012 at 3:09 answer added user1106925 timeline score: 22
Jul 12, 2012 at 3:08 review Suggested edits
S Jul 12, 2012 at 7:46
Jul 12, 2012 at 3:08 comment added Jeemusu Works fine for me on the jsfiddle in chrome. Try pasting $('#test').append("Test"); directly into the chrome console and see what it says.
Jul 12, 2012 at 3:04 comment added bfavaretto Do you get that error with my jsfiddle too? Anyway, you could try this, as per jQuery docs: $('#test').append(document.createTextNode("Test"));.
Jul 12, 2012 at 3:03 comment added test Yes... my Chrome browser is giving the error.
Jul 12, 2012 at 3:02 comment added bfavaretto I wouldn't trust any IDE for debugging JavaScript. Trust the browsers.
Jul 12, 2012 at 3:00 comment added test Apparently not in my IDE editor... phpDesigner on my localhost.. WAMP.
Jul 12, 2012 at 3:00 comment added bfavaretto That code works jsfiddle.net/2hDbL
Jul 12, 2012 at 2:57 comment added test It says that error happens in line 9: $('#test').append("Test");​
Jul 12, 2012 at 2:56 history asked test CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /