I'm trying to use jQuery selectors to select a table with an id containing some special characters, {
and }
but I get errors in the console and script is not executed, not sure why:
Error text
Refused to apply inline style because it violates the following Content Security Policy directive: "default-src 'none'". Either the 'unsafe-inline' keyword, a hash ('sha256-33YGiROm4Pzv0xXIPo82M0Dt2zrdnP4IgbJq1WeAtf8='), or a nonce ('nonce-...') is required to enable inline execution. Note also that 'style-src' was not explicitly set, so 'default-src' is used as a fallback.
(anonymous) @ jquery-1.4.2.min.js:33
(anonymous) @ jquery-1.4.2.min.js:37
(anonymous) @ jquery-1.4.2.min.js:154
Here's my HTML table
<table border="0" cellspacing="0" dir="none" cellpadding="1" id="{7B414D25-2C68-4ACF-A923-85EAE66F82D0}-{AFEC83B3-EBCC-4EC5-8C9D-1AEF0B30902F}" class="ms-listviewtable" view="AFEC83B3-EBCC-4EC5-8C9D-1AEF0B30902F">
And my jQuery
jQuery('#{7B414D25-2C68-4ACF-A923-85EAE66F82D0}-{AFEC83B3-EBCC-4EC5-8C9D-1AEF0B30902F}').append('<div>I am here!!!</div>');
Any suggestions on what I'm doing wrong?