How do I add _blank to window.location function?

I am using this function to take a person to a page on clicking a button:

    function essb6d() {

However, I want to open in a new window. How do I do that?
These don’t work:

window.location=("vehicle_reference/appb6d/www/index.html" "target='_blank'");
window.location=("'vehicle_reference/appb6d/www/index.html' target='_blank'");

Try'vehicle_reference/appb6d/www/index.html', '_blank').focus();

YES! That works.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.