Open a new tab in browser with custom html code. Javascript -
this question has answer here:
how have function opens new tab in browser custom html generated in root tab?
you can this
var x=window.open(); x.document.open().write('<h1>test</h1>'); x.close();
note cannot force new tab user preference (of new window / new tab)
Comments
Post a Comment