can you please help me with the below query? I have a button code as shown below:
<button type="button" onclick= "location.href=document.getElementById('Text1').value;return false;" class="btn btn-danger">Launch Console</button>
Here I have the URL value fetched from a javascript variable. Is there anyway I can open the same in a new tab ? Currently it's loading in the same window/tab.
You can do something like this :