How to safely use "&" symbol in a javascript variable without it turning to "&"? – Asp.net
I am trying to execute the following code: <button onclick="increment()">Increment</button> <div id="iframe"> <script> var id = 139000; var link='<iframe src="https://somewebsite.com/something.aspx?sa=1&pid=' + id + '" height="600px" width="100%" />'; function increment(){ id++; document.getElementById('iframe').innerHTML = id + link ; } </script> </div> But…