Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

How to change eval (due to CSP Implemenation)

$
0
0

is there are any easier way to remove eval() with different methods as I have a used alot in my code but it fails CSP.sample code: eval("documents.forms[0].byr"+x).disabled=false;

$('form:eq(0) [name="byr'+ x +'"]').prop('disabled', false);


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>