Jquery Multiple load in a DIV

前端 未结 6 408
一个人的身影
一个人的身影 2020-12-08 08:45

Here is my code:

$(\'#right\').load(\'textes.html #nicolas\');
$(\'#right\').load(\'textes.html #antoine\');

The problem is that the content

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-08 09:09

    Here's the full source code for a solution.

    I've hosted a working sample on JSBin.com: http://jsbin.com/ulodu (Editable via http://jsbin.com/ulodu/edit)

    
    
    
    Sandbox
    
    
    
    
      

提交回复
热议问题