AJAX value sending error

后端 未结 5 1108
清歌不尽
清歌不尽 2021-01-19 05:13

Hi I have problems with the script below. The problem I think lies on data that need to be sent to php via AJAX.

jQuery

$(\'.send\').live(\"click\",          


        
5条回答
  •  [愿得一人]
    2021-01-19 05:45

    You can use ,

         $('.send').click(function(){
    

    Insted of

      $('.send').live("click", function(){
    

    There is an error showing

    TypeError: Object [object Object] has no method 'live'(live is deprecated)

提交回复
热议问题