zoukankan      html  css  js  c++  java
  • 修改时,select根据参数自动选择其中某项

    上边为脚本 其中editzw为表单name   file_wh_dw为select的name

    <body onload="dw('${gwzf.file_wh_dw }','${gwzf.file_wh_year }')"> 在网站加载时执行脚本

    下边为select

  • 相关阅读:
    3.1《想成为黑客,不知道这些命令行可不行》(Learn Enough Command Line to Be Dangerous)——下载文件
    rem实现手机页面自动缩放
    Git 常用命令
    使用 canvas+JS绘制钟表
    JS 操作数组的方法
    Node.js Request方法
    兼容浏览器的点击事件
    ES6知识点
    上传项目到github上
    JavaScript 编码风格
  • 原文地址:https://www.cnblogs.com/huozhicheng/p/2533207.html
Copyright © 2011-2022 走看看