1document.getElementById("something").innerHTML = "<img src='something' onmouseover='change(\"ex1\")' />";
1var string = 'this isn\'t a double quoted string';
2var string = "this isn\"t a single quoted string";
3// ^ ^ same types, hence we need to escape it with a backslash