I have the following javascript variable with HTML code in it:
var html_ticket = '<!doctype html>' +
'<html dir="ltr" lang="en" class="no-js">' +
'<head> ' +
' <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> ' +
' ...... ' +
'</body> ' +
'</html> ';
I would like to open that variables content as a HTML in a new window.
Is this possible or am i approaching it wrong?
Regards