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