php - How to go back previous ajax url in codeigniter? -


when page loaded http://something.com/user/mycourses address in browser url. in page there 2 ajax requests there. 1 http://something.com/user/learnnow address(shows learning courses) , http://something.com/user/teaching(shows teaching courses). if click on teaching, ajax load page. if click on browser button go learnnow page, takes me url before mycourses page. want when user click on browser button should go learnow page teaching page. how please me.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -