Chandini Posted August 3, 2022 Share Posted August 3, 2022 Actually I am loading all the pages to a pop window using the jquery script $(document).ready(function() { $(document).on("click", "ul.pagination li a", function(e) { e.preventDefault(); //var pageurl = $(this).attr("href"); $("div#loader").load($(this).attr("href"))}); }); what problem i face is when i submit a comment in a page, the url changes to some thing like http://localhost/myblogs/?comment_success=1#CommentPostNote so as result the page layout changes to the template layout of myblogs which doesn't include head and footer.. so how can i make sure the redirection url of the comment submission loads to the div id "loader" Your help is very much appreciated... thank you Link to comment Share on other sites More sharing options...
Vineet Sawant Posted August 3, 2022 Share Posted August 3, 2022 Hi, Is it possible to see the full code? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now