Escape string in alert dialog box : Dialog « Window Browser « JavaScript DHTML
- JavaScript DHTML
- Window Browser
- Dialog
Escape string in alert dialog box
<html>
<head>
<title>A Simple Page</title>
<script language="JavaScript">
alert("\"It wasn\'t like that!\" she said.");
</script>
</head>
<body>
</body>
</html>
Related examples in the same category