asked on
function GoToURL(j) {
window.status=('Extracting')
var URLis;
URLis = document.URLframe.Dest.value
if (URLis == "" || URLis.length <= 0)
{
j.value = "Try Again"
alert('You must enter valid Article ID');
window.status=('Missing data or Invalid. Try again?.')
}
else
{
j.value = "Finding KB" + URLis
var location=("http://packetman.com.au/kb/entry/" + URLis +"/");
this.location.href = location;
window.status=('Connecting to ' + URLis + ' Please wait........');
}
}
<form name="URLframe">
<b>KB Number</b>
<input type="TEXT" name="Dest" size="5" maxlength="5">
<input type="Button" name="Go to" value="Query" onClick="GoToURL(this)">
</form>
ASKER
ASKER
JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.
TRUSTED BY
ASKER
Just have to figure out how it all fits together.