| | |
| | | <apex:InputField value="{!exmpdDetailsRecordsMap[mp.mpded.ProductsID__c][0].mpdrdd.AmountWithheld__c}" id="AmountWithheld" /> |
| | | </td> |
| | | <td> |
| | | <apex:commandButton id="add" onclick="addJs();" value="添加" style="position:relative;width:100px;"/> |
| | | <apex:commandButton id="add" onclick="addJs(this);" value="添加" style="position:relative;width:100px;"/> |
| | | <apex:commandButton id="delete" onclick="deleteJs();" value="删除" style="position:relative;width:100px;"/> |
| | | </td> |
| | | </tr> |
| | |
| | | </apex:pageblocksection> |
| | | <script type="text/javascript"> |
| | | function addJs(el){ |
| | | console.log(el); |
| | | console.log(el.id); |
| | | } |
| | | </script> |
| | | <!-- chenjingwu 20240417 end --> |