jquery .text doesn't render HTML elements into the DOM

前端 未结 3 1248
故里飘歌
故里飘歌 2020-12-12 07:47

I am loading a list of images into a div with the following bit of jQuery :

                var jewellerDdl = \"<%= JewellerDropDownList.ClientID %>\";         


        
3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-12 07:58

    Try this instead:

    $("#divEntryDisplay").html(result.d);
    

提交回复
热议问题