zoukankan      html  css  js  c++  java
  • 浏览器脚本按钮功能

    <input   type=button   value=剪切           onclick= "document.execCommand( 'Cut ') ">
    <input   type=button   value=拷贝           onclick= "document.execCommand( 'Copy ') ">
    <input   type=button   value=粘贴           onclick= "document.execCommand( 'Paste ') ">
    <INPUT   type=button   value=打印           onclick= "document.execCommand( 'Print ') ">
    <input   type=button   value=全选           onclick= "document.execCommand( 'SelectAll ') ">
    <input   type=button   value=撤消           onclick= "document.execCommand( 'Undo ') ">
    <input   type=button   value=删除           onclick= "document.execCommand( 'Delete ') ">
    <input   type=button   value=黑体           onclick= "document.execCommand( 'Bold ') ">
    <input   type=button   value=斜体           onclick= "document.execCommand( 'Italic ') ">
    <input   type=button   value=下划线       onclick= "document.execCommand( 'Underline ') ">
    <input   type=button   value=停止           onclick= "document.execCommand( 'stop ') ">
    <input   type=button   value=保存           onclick= "document.execCommand( 'SaveAs ') ">
    <input   type=button   value=另存为       onclick= "document.execCommand( 'Saveas ',false, 'c:\\test.htm ') ">
    <input   type=button   value=字体           onclick= "document.execCommand( 'FontName ',false,fn) ">
    <input   type=button   value=字体大小   onclick= "document.execCommand( 'FontSize ',false,fs) ">
    <input   type=button   value=刷新           onclick= "document.execCommand( 'refresh ',false,0) ">


    <input   type=button   value=刷新   onclick= "window.location.reload() ">
    <input   type=button   value=前进   onclick= "window.history.go(1) ">
    <input   type=button   value=后退   onclick= "window.history.go(-1) ">
    <input   type=button   value=前进   onclick= "window.history.forward() ">
    <input   type=button   value=后退   onclick= "window.history.back() ">

  • 相关阅读:
    Java代码生成器多表配置优化,增加自定义实体功能
    Java代码生成器加入postgresql数据库、HikariCP连接池、swagger2支持!
    SSM/SpringBoot代码生成器全面升级—增加全新前后端分离响应式主题,修复若干Bug
    记一次真实的线上事故:一个update引发的惨案!
    昨日学习安排
    C++个人学习笔记
    C++位运算符
    随手写事two
    随手写事
    Tomcat一对多遇到得问题
  • 原文地址:https://www.cnblogs.com/xiyangmeng/p/2439215.html
Copyright © 2011-2022 走看看