
File open script within HTML doc
Maybe u mean something like this:
<script language=VBScript>
<!--
sDocument = InputBox("Enter html document name plz...")
If sDocument="" then
MsgBox "No file specified!", vbInformation Or vbOkOnly, "you made a
{*filter*}oo.."
Else
location.href = sDocument
End If
-->
</script>
----------------------------
Jim Teeuwen
www.defiance.nl
---------------------------
Quote:
> I would like to use a input box in a HTML page to call a
> HTML or XML doc into the browser. The user would enter a
> no. into the input box (which would be the name of the
> HTML/XML file) and then the browser would load this page.
> IS this possible using vbscript and if so can someone
> provide an example script to do so??
> Thanks