Hot answers tagged

1

This was a typo on my part. I was not putting the ContentType field into the pairs array as an array itself. The right way: pairs.push(['ContentType', this.get('contentTypeIdName')]); The wrong way (and how I was doing it): pairs.push('ContentType', this.get('contentTypeIdName'));


1

There have to be commas between the value pairs: [ ["EmployeeNumber", $("#tbEmployeeID").val()], ["EmployeeName", $("#tbEmployeeName").val()], ["EmployeeEmail",$("#tbEmployeeEmail").val()] ]



Only top voted, non community-wiki answers of a minimum length are eligible