使用JS打印页面内容,我想记录打印次数,并通过后台写入数据库;
但是这里 input 的 onclick事件 =document.all.WebBrowser.ExecWB(6,1)
怎样记录 input 按钮按下 就转入后台代码执行方法
<object id="WebBrowser" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0" width="0"> </object>
<asp:Panel ID="panel1" runat="server" Width="634px"><span lang="zh-cn"
style="font-size: small">
<input onclick="document.all.WebBrowser.ExecWB(6,1)" type="button" value="直接打印" />
<input onclick="document.all.WebBrowser.ExecWB(8,1)" type="button" value="页面设置" />
<input onclick="document.all.WebBrowser.ExecWB(7,1)" type="button" value="打印预览" />
- Carriage Return (ASCII chr 13) is missing from tex
- How to store image outside of the website's ro
- 'System.Threading.ThreadAbortException' in
- Request.PathInfo issues and XSS attacks
- How to dynamically load partial view Via jquery aj
- asp.net HiddenField控件扩展问题
- asp.net HiddenField控件扩展问题
- Asp.Net网站无法写入错误日志,测试站点可以,正是站点不行
- 放在input的text下文本一直出现一个/(即使还没输入任何值)是什么情况
- asp.net mvc 重定向到vue hash字符串丢失
- FormsAuthenticationTicket expires too soon
- “Dynamic operations can only be performed in homog
- What is the best way to create a lock from a web a
你得写个DoPrint方法,类似