I have a form with a save From button here is what it looks like :
Begin Page<------------------------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>
<body>
<script>
function doSaveAs(){
if (document.execCommand){
document.execCommand("SaveAs")
}
else {
alert("Save-feature available only in Internet Exlorer 5.x. If you wish to save this
form and you do not have internet explorer 5.0 or up then select the file menu at the
top of the page and select save as to save the form.")
}
}
</script>
<form>
<input type="button" value=" Save From " name="cmdSaveForm" tabindex="135"
id="cmdSaveForm" style="border-style: ridge; border-width: 1px" onClick="doSaveAs()">
</form>
</body>
</html>
---------------------------------> End page
When I hit the save button I would like to load the name of the file to be save my
self so users don't have to type it in.
The name of the file would be coming from a session variable that i have already
loaded at this point. My ultamate goal would be to save this as a pdf file but if this
is not possible i would like to save it as an html file. Any help would be great. I
have searched for help about saving as pdf but have not found any help as yet.
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/