Hello,
I'm working on a portion of my Firefox script which will when you click on a button it will call the openUrl function and open up the nwtools URL. Eventually I will be passing the eWhois variable into the openURL function so i can modify the host. Unfortunately it is not working at the basic stage of just opening the following url. Any ideas?
I'm working on a portion of my Firefox script which will when you click on a button it will call the openUrl function and open up the nwtools URL. Eventually I will be passing the eWhois variable into the openURL function so i can modify the host. Unfortunately it is not working at the basic stage of just opening the following url. Any ideas?
Code:
<groupbox>
<caption label="DNS Tools"/>
eWhois = document.getElementById('nWhois').value;
<row><textbox id="nWhois" value=""/> <button label="whois" width="15" oncommand="openURL();" /> </row>
</groupbox>
function openURL() {
wndow.open(http://nwtools.com/default.asp?prog=whois&host=cnn.com, "_blank", "chrome=true");
}
Comment