Back
Can anyone tell me how to open a new window in JavaScript and insert HTML data without having to link the HTML file?
Use
window.open ----> to open new window/tab in JavaScript
Document.write ---> to write HTML content to the open window
Interested in Java? Check out this Java Certification by Intellipaat.
31k questions
32.8k answers
501 comments
693 users