Non-AJAX jQuery POST request

前端 未结 6 610
被撕碎了的回忆
被撕碎了的回忆 2020-12-04 14:12

I am trying to use the jQuery POST function but it is handling the request in AJAX style. I mean it\'s not actually going to the page I am telling it to go.

         


        
6条回答
  •  难免孤独
    2020-12-04 14:52

    didnt exactly solve the problem. but did manage to work around it. i had to do a lot modification to the JS to make this work, but the core problem of this question was solved by doing this:

        $("#see_comments").attr({href: "comments.php?aid='"+imgnum+"'"});
    

    this appended the aid value to the URL as @Doug Neiner initially suggested me to do. Thanks a lot Doug for all the effort. I really appreciate. +1 and accept to your answer for the effort.

提交回复
热议问题