I am new to frontpage / html / javascript
I am trying to achieve the following
(1) i want to get the list of all files in a particular directory on a web page .
i was thinking of getting this info in a drop-down box
So i tried to use the following but it errors out
onclick of a dropdown i am calling a script to get the directory list
i am not sure what wrong am i doing
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 2</title>
<SCRIPT LANGUAGE=JavaScript>
function get_dir()
{
var win;
Dim objDir As System.IO.DirectoryInfo = New System.IO.DirectoryInfo("C:\sachin") ;
}
</script>
</head>
<body >
<form method="POST" action="--WEBBOT-SELF--" onSubmit="">
<!--webbot bot="SaveResults" u-file="C:\My Home Page\Document Web Site\_private\form_results.csv" s-format="TEXT/CSV" s-label-fields="TRUE" startspan --><strong>[FrontPage Save Results Component]</strong><!--webbot bot="SaveResults" endspan i-checksum="6561" --><p>
</p>
<p><select size="1" name="D1" Onclick = "get_dir()" ></select></p>
<p> </p>
<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
</body>
</html>