Escaping Problem
- by James Jeffery
How can escape quotes for use in HTML? My line of code is:
<body onload="setTimeout('window.location='http://somepage.com'', 1000)">
As you can see in the current example, there are two ', and a " being used. How can I escape them for the above to work?
The onload contents are set dynamically for a system I am working on @ work.