How to add a Save as bottom to HTML

From Wiki-UX.info
Jump to: navigation, search

Abstract

This article explains how to add a Save as buttom to a HTML page using JScript.

Code

<object id="WebBrowser" width=0 height=0 classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"> 
</object> 

<input name=Button onClick=document.all.WebBrowser.ExecWB(4,1) type=button value=saveas>

Reference

Authors

Category