PHP variable not echoing on page via ajax jquery

后端 未结 4 484
温柔的废话
温柔的废话 2020-12-22 13:16

I am having a problem with my code as my php variable is not being echoed on page when using ajax jquery. Here is my code...



        
4条回答
  •  鱼传尺愫
    2020-12-22 14:02

    Where the response variable you get? Should be :

    success : function( response ) {
       jQuery("#load_msgs").append(response+'
    '); },

提交回复
热议问题