I got error
“Use of attributes’ specified attribute is deprecated. It always returns true.
return !val || val.specified ? elem.value : elem.text;”
$(document).ready(function(){
$("#o_productCategory").change(function(e){
$.getJSON("URI", ({"parent" : $("#o_productCategory").val()}),function(result) {
//code here
});
});
});
The error looks related to
$("#o_productCategory").val(). Possibly this or this.Because you’re inside
$("#o_productCategory")‘schangecallback, you could usethis.valueinstead.