jQuery append not working in IE8

前端 未结 5 1379
说谎
说谎 2021-01-12 06:16
 $(\'#buttonadd\').click(function(){
            if ($counter < 10)
            {
                $counter++;
                $countonlyadd++;
                $(\         


        
5条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-12 07:24

    Maybe it helps if you create the elements first..so create an object for your row, column, textbox, etc. And than append that into each other. Finally append the row to your div. Besides that, it is a bit weird to add a row to a div, and not to a table...

提交回复
热议问题