| | |
| | | <apex:page standardController="Inquiry_form__c" extensions="NewAndEditInquiryFormController" id="page"> |
| | | <apex:includeScript value="{! URLFOR($Resource.AWSService, 'AWSService.js') }" /> |
| | | <script src="../../soap/ajax/53.0/connection.js" type="text/javascript"></script> |
| | | <apex:includeScript value="{!URLFOR($Resource.connection20)}"/> |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | |
| | | } |
| | | |
| | | function IsFormElement(tag_name){ |
| | | return ['input','select','textarea'].indexOf(tag_name)>-1; |
| | | return ['input','select','textarea','div'].indexOf(tag_name)>-1; |
| | | } |
| | | |
| | | function getPIPayload(sobjJson) { |
| | |
| | | console.log(ele.id.indexOf('lkwgt')); |
| | | if (ele.id.indexOf('lkwgt') == -1) { |
| | | let vlookUpNodeId = ele.id + '_lkid'; |
| | | if (tag_name == 'div') { |
| | | vlookUpNodeId = ele.id.substring(0,ele.id.length-4) + '_lkid'; |
| | | } |
| | | let vlook_ele = document.getElementById(vlookUpNodeId); |
| | | let v = ''; |
| | | if(vlook_ele){ |