I have in jQuery a function to change the html-content in a div, but the problem is that there is an onclick-function in it. I do not know which quote tags to use.
[q] = quote tag, that I do not know
$("#container div").html("<div id='overlay' onclick='goFullscreen([q]video1[q])'></div>");
Escape quotes:
DEMO
OR
DEMO
Examples
UPDATE
If
video1
is variable: