Clearest way to build html elements in jQuery

前端 未结 10 1172
一个人的身影
一个人的身影 2020-12-12 11:12

I\'ve seen a lot of different styles (and few different methods) of creating elements in jQuery. I was curious about the clearest way to build them, and als

10条回答
  •  温柔的废话
    2020-12-12 12:06

    Simplest way of doing this -

    var optionsForLength = 
    ''+
    ''+
    ''+
    ''+
    ''+
    ''+
    ''+
    ''+
    ''+
    ''+
    '';
    

提交回复
热议问题