jQuery ajax load() javascript not executing?

后端 未结 8 1111
执念已碎
执念已碎 2020-11-29 07:49

I\'ve read several posts about this issue but i can\'t solve it.

I am loading an html file into a div. The file i am loading contains a unordered list. This list sho

8条回答
  •  醉梦人生
    2020-11-29 08:18

    The script can't use document.ready, the document already ready. Just put the script between script tags.

    wrong:

    
    

    correct:

    
    

提交回复
热议问题