SYNTAX_ERR: DOM Exception 12
function FetchProductList(id, type, title) { $.ajax({ url: '/Product/Product/GetProductList?productListId=' + ProductListId, type: "POST", contentType: "application/html; charset=utf-8 ", dataType: 'json', params: { "productListId": selectedProductListId }, data: $('form').serialize(), success: function (treedata) { debugger; $('#tableproductList').html(null); $('#tableproductList').append(treedata.responseText); FetchSupplierId(selectedProductListId); $('#productListHead').html('<h2 style="font-size:16px">' + title + ' (' + ListId + ': ' + accessCode + ')' + '</h2><input type="button" class="btn btn-common editProduct" value=' + '"' + EditandList + '"' + ' onclick="PrdctListDetails(2)"/>'); $('#tableproductList').show(); $('#treemainDiv').hide(); FetchSchoolLocationId(selectedProductListId); }, error: function (treedata) { $('#treemainDiv').hide(); }, }); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)