javascript - IE8 giving very wierd error -
this error receiving,
webpage error details user agent: mozilla/4.0 (compatible; msie 8.0; windows nt 5.2; trident/4.0; .net clr 1.1.4322; .net clr 2.0.50727; .net clr 3.0.4506.2152; .net clr 3.5.30729) timestamp: mon, 9 may 2016 09:54:15 utc message: 'key' null or not object line: 2031 char: 9 code: 0 uri: https://www.example.com/scripts/odata-query-builder.js
this js file microsoft using,
line: 2031 looks me,
$.each(options, function (index, e) { line 2031: var $option = $('<option />', { value: e.key, text: e.value }); if (typeof e.type !== 'undefined' && e.type == 'navigationproperty') { $option.addclass('navigationdropdown'); } $option.appendto(select); });
update
i using jquery 1.9.1 2.0.0 not supported ie8
update 2
to make things move forward added bit options,
if(e){ rest of code here... }
but getting error on line 477, char 9
odata.read({ requesturi: this.getodataurl() + '$metadata' },
Comments
Post a Comment