Jquery .html insert data problem

tbBody has been printed out, why can"t it be inserted? is there something I wrote wrong

?
for(var i=0;i<len;iPP){
        var tbBody = "";
        tbBody += "<li><p class="fsy-type">"+strType+"

<a href="+data1[i].url+"; target="_blank">"+data1[i].shortTitle+"</a><em>"+data1[i].createTime+"</em></li>" console.log(tbBody) $(".fsy-reset1").append(tbBody); }
Jul.12,2022

whether there are nodes on your html whose class is fsy-reset1

the test can be inserted. You can turn on the control to see if there are any other error messages

.
<div class="container">
    <ul class="fsy-reset1">
     
    </ul>
</div>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
<script>
  const len = 10;
  for(var i=0;i<len;iPP){
        var tbBody = "";
        tbBody += '<li><p class="fsy-type">demo 

<a href="asdf"; target="_blank">'+i+'</a></li>' console.log(tbBody) $(".fsy-reset1").append(tbBody); } </script> <style> .column { width: 31.33%; background-color: green; float: left; margin: 0 1%; } .column:last-child { float: none; overflow: hidden; } </style>

clipboard.png

Menu