How to write the code for the back button?

前端 未结 7 559
梦毁少年i
梦毁少年i 2020-12-23 17:43

I have a php code here and I would like to create a "back" href to get me back to where I was before. Here\'s what I have:



        
7条回答
  •  Happy的楠姐
    2020-12-23 18:15

    In my application,above javascript function didnt work,because i had many procrosses inside one page.so following code worked for me hope it helps you guys.

      function redirection()
            {
                
                var redirect_to="";             
                window.location = redirect_to;
    
            }
    

提交回复
热议问题