daily pastebin goal
27%
SHARE
TWEET

Untitled

a guest Jan 20th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var address = '{ "Line1" : "' + $('.dialog-container').find("*[id$='txtLine1']").attr("value") + '", "Line2": "' + line2 +
  2.             '", "Line3": "' + line3 + '", "City": "' + city +
  3.                 '", "Country": "' + country + '", "PostalCode": "' + postalcode +
  4.                     '", "StateOrProvince": "' + state + '"' +
  5.                         ', "Type" : {"Code": "' + addressTypeCode + '"}, "ID" :' + addressID +
  6.                             '}';
  7.  
  8.         var otherContact = '[{"ID": ' + 0 +
  9.             ',"AccountNumber":' + accntNumber +
  10.                 ',"Type":{"ID": ' + $('.dialog-container').find("*[id$='ddlContactType'] :selected").val() +
  11.                     ',"Name":"' + $('.dialog-container').find("*[id$='ddlContactType'] :selected").text() + '"}' +
  12.                         ',"Comments" : "' + $('.dialog-container').find("*[id$='txtNotes']").attr("value") + '", ' +
  13.                             '"Name" : "' + $('.dialog-container').find("*[id$='txtName']").attr("value") + '", ' +
  14.                                 '"IsReadOnly" : "' + false + '", ' +
  15.                                     '"Email" : "' + $('.dialog-container').find("*[id$='txtEmail']").attr("value") + '", ' +
  16.                                         '"Phone" : "' + $('.dialog-container').find("*[id$='txtPhone']").attr("value") +
  17.                                             '", "MailingAddress" :' + address + '}]';
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top