AJAX returns HTML code with output

前端 未结 3 968
天涯浪人
天涯浪人 2021-01-18 23:42

After trying some solutions from this and many other questions I wasn\'t able to get what is exact problem in my code. My code

$(document).ready(function() {         


        
3条回答
  •  孤独总比滥情好
    2021-01-19 00:38

    use strip_tags while sending data from server file if that is in php like below-

    
    
    
    

    SERVER file

    HI";
    echo strip_tags($msg);
    ?>
    

提交回复
热议问题