Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • i couldnt write it that way - XSS protection on stackoverflow? how did you do it? Commented Nov 4, 2012 at 19:47
  • nvm got it :P anyway thats not the case Commented Nov 4, 2012 at 19:49
  • If you precede the code block with 4 spaces it normally allows anything in the code block. What was the issue in the end? Commented Nov 4, 2012 at 19:56
  • Damn we got on a wrong track :D I meant "i got it" with the code block issue. The error thing is still not resolved. Commented Nov 4, 2012 at 20:02
  • I have tested a ton of scenarios and listed the ones that can cause a problem in the answer. Also, check the contents of jquery.d.ts just to ensure that right at the bottom it has declare var $: JQueryStatic. Commented Nov 5, 2012 at 8:50