jeudi 27 novembre 2014

Parse HTML string containing script tag and document.write


Vote count:

0




I have below string. It has nested document.write string statements. I want to add text contents of innermost script to document.



"document.write('<script>document.write(\"<script>document.write(\"Hello World\");<\/script>\");<\/script>')"


asked 51 secs ago







Parse HTML string containing script tag and document.write

Aucun commentaire:

Enregistrer un commentaire