How can I open a URL specified in window.location.href
in new window?
function callThisFunction1() {
var dropdown = document.getElementById("lookup1");
var unit = dropdown.options[dropdown.selectedIndex].value;
if (unit == "M") {
window.location.href='site.com'+document.getElementById("Var").value;
}
else if (unit == "S") {
window.location.href='site.com'+document.getElementById("Var1").value;
}
}