在Jquery中需要对齐记录

时间:2017-08-22 07:08:31

标签: jquery twitter-bootstrap razor

我正在使用bootstarp类。对于每个MealOption,无法将子Mealoption对齐到一行。

for (var i = 0; i < MealOption.length; i++) {
    mealoptions += "<div class=col-md-11>" + "<div class=col-md-4>" + MealOption[i].MealoptionName + "</div>" + "</div>";
    for (var j = 0; j < MealOption[i].sMealOption.length; j++) {
        if (MealOption[i].sMealOption[j].IsTexture == true)
        {
            mealoptions += "<div class=col-md-4>"+"</div>"+"<div class=col-md-7>" + MealOption[i].sMealOption[j].TextureLevel + " , " + "</div>" ;
        }
    }
    //Display Results according to condition
}

Please refer the link

任何帮助将不胜感激。提前致谢

1 个答案:

答案 0 :(得分:0)

替换你的代码
column/required(1.73x, 1.73x, 1.63x, nm, nm, nm)