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

Popular posts from this blog

linux - Could not find a package configuration file provided by "Qt5Svg" -

simple.odata.client - Simple OData Client Unlink -