dynamically added class can't be called

后端 未结 3 650
醉梦人生
醉梦人生 2020-12-19 14:15

I am trying to accomplish delete in page which is filled with data by ajax call. my page has this before data is loaded:



        
3条回答
  •  我在风中等你
    2020-12-19 14:59

    Use something like this to call dynamically added class

    $('.class').live("click", function(){
    
      $('#id').remove();   
    
    
    });
    

提交回复
热议问题