| | |
| | | <apex:InputField value="{!mu.mpdrdd.AmountWithheld__c}" id="AmountWithheld" /> |
| | | </td> |
| | | <td> |
| | | <apex:commandButton id="add1" onclick="addJs();" value="添加" style="position:relative;width:100px;"/> |
| | | <apex:commandButton id="delete1" onclick="deleteJs();" value="删除" style="position:relative;width:100px;"/> |
| | | <apex:commandButton id="add1" onclick="addJs(this);" value="添加" style="position:relative;width:100px;"/> |
| | | <apex:commandButton id="delete1" onclick="deleteJs(this);" value="删除" style="position:relative;width:100px;"/> |
| | | </td> |
| | | </tr> |
| | | </apex:repeat> |
| | |
| | | |
| | | </apex:pageblocksection> |
| | | <script type="text/javascript"> |
| | | function addJs(){ |
| | | |
| | | function addJs(el){ |
| | | console.log(el.id); |
| | | } |
| | | </script> |
| | | <!-- chenjingwu 20240417 end --> |