Escape characters to be used in a javascript literal string
<p>I would like to take a string that the user will enter to a text box in a form and turn it into a javascript literal. So I'd, for instance, turn the " character into \". </p>

<p>Is there any complete list of characters that would need to be escaped?</p>
