| | |
| | | </td> |
| | | <td> |
| | | <input name="{!mp.mpded.ProductsID__c}" type="button" value="添加" style="width: 100px;" onclick="addJs(this);return false;" class="btn"/> |
| | | <input id="delete" name="{!mp.mpded.ProductsID__c}" type="button" value="删除" style="width: 100px;" onclick="deleteJs(this);return false;" class="btn"/> |
| | | <!-- <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;"/> --> |
| | |
| | | <apex:InputField value="{!mu.mpdrdd.AmountWithheld__c}" id="AmountWithheld" /> |
| | | </td> |
| | | <td> |
| | | <apex:commandButton title="{!mp.mpded.ProductsID__c}" id="add1" onclick="add1Js(this);" value="添加" style="position:relative;width:100px;"/> |
| | | <apex:commandButton title="{!mp.mpded.ProductsID__c}" id="delete1" onclick="delete1Js(this);" value="删除" style="position:relative;width:100px;"/> |
| | | <input name="{!mp.mpded.ProductsID__c}" type="button" value="添加" style="width: 100px;" onclick="addJs(this);return false;" class="btn"/> |
| | | <!-- <apex:commandButton title="{!mp.mpded.ProductsID__c}" id="add1" onclick="add1Js(this);" value="添加" style="position:relative;width:100px;"/> |
| | | <apex:commandButton title="{!mp.mpded.ProductsID__c}" id="delete1" onclick="delete1Js(this);" value="删除" style="position:relative;width:100px;"/> --> |
| | | </td> |
| | | </tr> |
| | | </apex:repeat> |
| | |
| | | blockme(); |
| | | console.log(el.name); |
| | | addEx(el.name); |
| | | } |
| | | function add1Js(el){ |
| | | blockme(); |
| | | console.log(el.title); |
| | | addEx(el.title); |
| | | } |
| | | function delJs(el){ |
| | | blockme(); |