You are here: irt.org | FAQ | JavaScript | Text | Q37 [ previous next ]
One of the following methods should let you do what you want:
<script language="JavaScript"><!-- var text = "singe quote - ' - example<br>"; document.write(text); var text = 'double quote - " - example<br>'; document.write(text); var text = "single and double - \' - \" example<br>"; document.write(text); var text = 'another single and double - \' - \" example<br>'; document.write(text); //--></script>