druss
01-20-2003, 10:06 PM
ok heres the deal.
a have a @html variable and i need it to be printed on one line within decrypt()
since javascript cannot have enters in its functions it make life hard for me.
Here is an example:
print "<script>decryptform(@html)</script>";
however the problem is that @html gets printed with enters when i need it to be on the same line.
This is what happens:
<script>decryptform(<html>
<body>
</body>
</html)</script>
when i need it to end up like this:
<script>decryptform(<html><body></body></html>)</script>
Thanks
Goran
a have a @html variable and i need it to be printed on one line within decrypt()
since javascript cannot have enters in its functions it make life hard for me.
Here is an example:
print "<script>decryptform(@html)</script>";
however the problem is that @html gets printed with enters when i need it to be on the same line.
This is what happens:
<script>decryptform(<html>
<body>
</body>
</html)</script>
when i need it to end up like this:
<script>decryptform(<html><body></body></html>)</script>
Thanks
Goran