J
josh
hi all
a php script is generating the following:
<script> printOut('abcdef'); </script>
printOut does document.write(out);
the problem is, this function doesn't work correct when there are
<script> tags in the parameter. so i cant call it with:
printOut('<script>alert(1)</script>Click OK');
what do i have to do to make the printOut function working correctly?
thx for any help
josh
a php script is generating the following:
<script> printOut('abcdef'); </script>
printOut does document.write(out);
the problem is, this function doesn't work correct when there are
<script> tags in the parameter. so i cant call it with:
printOut('<script>alert(1)</script>Click OK');
what do i have to do to make the printOut function working correctly?
thx for any help
josh