Change Hyper link to form to submit

2010-04-01  来源:本站原创  分类:Web  人气:203 

1 this is a hyper link

<a href="javascript: personDetail('${benefitList[0].benefit.childId}','${caseNbr}')"> $ (fisrstNm) $ (lastNm) </ a>

<s:form name="voucherInfoForm" method="post" action="/auth/auth_detail.eppic">
<s:hidden name="childId" value="" />
<s:hidden name="caseNbr" value=""/>
</ S: form>

<script language="javascript">

function personDetail (personId, caseNbr)
(
document.voucherInfoForm.childId.value = personId;
document.voucherInfoForm.caseNbr.value = caseNbr;
document.voucherInfoForm.submit ();
)

</ Script>

相关文章
  • Change Hyper link to form to submit 2010-04-01

    1 this is a hyper link <a href="javascript: personDetail('${benefitList[0].benefit.childId}','${caseNbr}')"> $ (fisrstNm) $ (lastNm) </ a> <s:form name="voucherInfoForm" method="post" action="/auth/auth_de

  • Embedded url's overlay support the ajax form to submit, free to general web pages, overlay effect 2010-09-16

    If you have a form page such as form.jsp by initHandler forward, do not change or little change in the premise of how to become a code overlay is the result? Specific results, please visit http://flowplayer.org/tools/demos/overlay/external.html Reali

  • form's submit method and submit the event (onsubmit) 2010-08-31

    form's submit method and submit the event (onsubmit) When the form with the javascript method calls directly to the form when submit, submit events do not respond. Why? This article describes how to automatically submit a problem description When the

  • To Ext.form.Action.Submit increase JSON / xml data sent 2010-11-14

    Two days out a bit Ext3, found Ext.form.FormPanel actually can not send JSON / xml data to the server, do not know if I have not found a way, depressing day. The easiest way is to directly rewrite Ext.form.Action.Submit.run Configuration parameters i

  • Enhanced to handle complex returns as Ext.form.Action.Submit json object 2010-11-14

    Ext.form.Action.Submit.handleResponse can only deal with the form {success: ture, info:''} the json return data, combined with more than a inconvenience SpringMVC only treated as such: HashMap<String,String> model = new HashMap<String,String>(

  • jQuery Form Plugin (a): Form to submit a form using AJAX 2011-01-06

    JQuery Form plug-in allows you to easily use AJAX to submit Form form, the main method and ajaxSubmit ajaxForm form elements responsible for the collection of information, management submitted to the process. Both are configurable, giving you ultimat

  • The Token mechanisms to address with the Struts form to submit duplicate 2010-03-24

    Struts-Token (token) mechanism can be properly resolved to submit the form to repeat the question, the basic principle is: the server-side in dealing with requests arrive before the request will be included in the token value stored in the current us

  • Struts Token mechanism with the repeat form to submit address 2010-03-30

    Struts's Token (token) mechanism to form a good solution to the problems submitted to repeat, the basic principle is: the server-side request handling before arrival, the request will be included in the token value stored in current user session in T

  • struts form to submit a solution to repeat 2010-07-21

    Struts solution to use the Token mechanism to submit the form to repeat Struts's Token (token) mechanism to form a good solution to the problems submitted to repeat, the basic principle is: the server-side request handling before arrival, the request

  • The strange javascript issue, form the submit does not work, does not exist in the property or method 2010-07-23

    Funny to say, hey, can not help themselves secretly laugh Today, the debugger var s = document.getElementById('configForm'); s.submit(); Page error object does not exist in the property or method Change to change this, move it move, just do not know

  • form to submit questions to prevent duplication of struts2 2010-12-23

    Struts-Token (token) mechanism to form a good solution to the problem of duplicate submission, the basic principle is: the server handling the request arrives before the request will be included in the current token value stored in the user session t

  • Form, click Submit button becomes grayed click again 2010-08-20

    <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> Effects <title> page code | pqshow.com | --- after the form click the submit button is not click again into gray </ title>

  • dwr form to submit the same name form 2010-10-25

    First note: in my own test results, the same name textbox can not all be "key - value" to the background to the author. If the number of the same name textbox (as the name = "text4"), only the first of the "key - value" will

  • Get and Post the form to submit the difference in 2010-11-01

    1. Get access to data from the server, post to send data to the server. 2. Get the parameter data is added to the queue to submit the form ACTION attribute within the meaning of the URL, value, and correspond to individual fields within a form, can b

  • Open form to submit alternative window.open 2010-12-01

    <html> <body> <form action="b.html" method="post" target="_blank"> First name: <input type="text" name="fname" /><br /> Last name: <input type="text" name="l

  • When the input tag name attribute of the form when submit 2011-01-12

    This case, the javascript form submission triggered actions are invalid. Tips $("#frmTest")[0].submit is not a function Whether it is not the same error with JQuery. Example code: <form method="get" action="test.do" > &

  • Oracle Form / PLSQL PLSQL in a Form or submit a concurrent request. 2011-09-30

    Development of Oracle EBS have a lot of friends met in a Form or how to submit a concurrent request PLSQL? Actually relatively simple, can refer to for about PLSQL Declare v_req_id Number; Begin fnd_global.apps_initialize (4394, 50593, 660, 0); dbms_

  • 表单Form的submit事件不响应的解决方法 2015-03-16

    当用JS调用form的方法submit直接提交form的时候,submit事件不响应. 一.问题描述 类比一下,我用input.select()做了测试,却能响应select事件.这个原因先放一边,我们看看先怎么把眼下的问题解决了. 不响应事件的代码示例: [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行] 实际运行,不会有alert出来. 虽然用submit方法来提交表单有违Unobtrustive Javascript的原则,但有时候不得不用,比如做搜索提示(auto-complet

  • Ext.form the submit and submit Ext.lib.Ajax in different 2010-06-17

    Ext.lib.Ajax in, submit the results of the judge has nothing to do with the business, if the http response to the success of the implementation success, otherwise fail Ext.from submit the results of operations are related, only the background respons

  • php form security. submit data filtering 2011-01-09

    PHP form submission to the special character of the filtration and treatment http://www.bestlovesky.com/read.php?1002 php form submission security procedures http://wenku.baidu.com/view/73b54729647d27284b73513a.html php form validation filter class h