Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var address = '{ "Line1" : "' + $('.dialog-container').find("*[id$='txtLine1']").attr("value") + '", "Line2": "' + line2 +
- '", "Line3": "' + line3 + '", "City": "' + city +
- '", "Country": "' + country + '", "PostalCode": "' + postalcode +
- '", "StateOrProvince": "' + state + '"' +
- ', "Type" : {"Code": "' + addressTypeCode + '"}, "ID" :' + addressID +
- '}';
- var otherContact = '[{"ID": ' + 0 +
- ',"AccountNumber":' + accntNumber +
- ',"Type":{"ID": ' + $('.dialog-container').find("*[id$='ddlContactType'] :selected").val() +
- ',"Name":"' + $('.dialog-container').find("*[id$='ddlContactType'] :selected").text() + '"}' +
- ',"Comments" : "' + $('.dialog-container').find("*[id$='txtNotes']").attr("value") + '", ' +
- '"Name" : "' + $('.dialog-container').find("*[id$='txtName']").attr("value") + '", ' +
- '"IsReadOnly" : "' + false + '", ' +
- '"Email" : "' + $('.dialog-container').find("*[id$='txtEmail']").attr("value") + '", ' +
- '"Phone" : "' + $('.dialog-container').find("*[id$='txtPhone']").attr("value") +
- '", "MailingAddress" :' + address + '}]';
Add Comment
Please, Sign In to add comment