Here is my javascript code, I'm getting error Uncaught SyntaxError: Unexpected token ILLEGAL at Line no 37
I was trying to append the options to "select" list from a json, my code seems to be have no syntax error. but chrome is throwing one.
31 set_options_list = function(selctelm, json){
32 $(selctelm).empty();
33 $.each(json, function(k, val) {
34 $(selctelm).append(
35 $("<option></option>").text(val).val(val)
36 )
37 });
38 }
