Jsp splicing string problem

var p = $("- sharpPROVINCE");

             p.html("<option>------</option>");
             for (var i = 0; i < v.length; iPP) {
                 p.html(p.html()+"<option value=""+ v[i].cxzdm +"" "<c:if test=""+${v.ID == pd.LEVEL}+"">"+selected+"</c:if> >"+v[i].mc+"</option>");
             }
             option cif 
Mar.19,2021

var option_list = "<option>------</option>";
for (var i = 0; i < v.length; iPP) {
     var option_selectd = '';
     if(v[i].ID == pd.LEVEL){
        option_selectd = " selected";
     }
     option_list +="<option value='"+ v[i].cxzdm +"'"+option_selectd+">"+v[i].mc+"</option>";
 }
$("-sharpPROVINCE").append(option_list);

v[i].ID
pd.LEVEL,
Menu