Object doesn't support property or method 'indexOf'

前端 未结 2 453
北海茫月
北海茫月 2021-01-17 18:34

I am using the below code:



    
    

         


        
2条回答
  •  清酒与你
    2021-01-17 19:05

    The load function has been deprecated in 1.8 and removed in 3.0. Use the on method instead

    
    
        
        
    
    
    
        
    
    

    From https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/

    Removed deprecated event aliases

    .load, .unload, and .error, deprecated since jQuery 1.8, are no more. Use .on() to register listeners.

提交回复
热议问题