zoukankan      html  css  js  c++  java
  • SugarCRM 在Html中增加超连接按钮

    在html模板页中
    <!-- BEGIN: main --> //此句代码下面写
    <script type="text/javascript">

    function prep_callin(the_form){
    the_form
    .return_module.value='CallIns'; //返回的模块 返回的3个 在 ListView.html 中应去掉 ,因为ListView没有返回
    the_form.return_action.value='CallInEditView'; //返回的页
    the_form.return_id.value='{id}'; //返回的id
    the_form.module.value='CallIns'; //前往的模块
    the_form.action.value='CallInEditView'; //前往的页
    }
    </script>

    <input title="新增立案"
    accessKey
    ="新增立案"
    class ="button"
    type
    ="submit"
    name
    ="Edit"
    value
    ="新增立案"
    onclick
    ="prep_callin(this.form);"//调用上面的JavaScript
    />
  • 相关阅读:
    实际项目管理-1
    arcengine 错误
    一些视频技术类网站
    winform 组件之dotnetbar10.5.3
    winform 弹框的组件
    一个好的开源网站
    写webservice 注意点
    ww
    js
    瀑布流
  • 原文地址:https://www.cnblogs.com/hailexuexi/p/1953246.html
Copyright © 2011-2022 走看看