I am trying to hide all my HTML in JavaScript so I can encrypt it with jscrambler.
I used document.write like this:
Code:document.write('<form action="http://www.facebook.com/ajax/connect/external_edge_comment.php?__a=1" target="_self" method="post"> <input type="hidden" name=""> <input type="hidden" name=""> <input type="hidden" name=""> <input type="hidden" name=""> <input type="hidden" name=""> <input type="hidden" name=""> <input type="hidden" name="node_type" value="link"> ');
But in Dreamweaver it shows errors. It will still display fine when I preview from localhost, so it isn't too much of a problem, but when I upload it to jscrambler to encrypt the file it will not work because it has syntax errors.
Any way to fix this? Thanks!


Reply With Quote

Bookmarks