September 19, 200917 yr Hi I have a form on my home page which when submitted, reloads the home page and displays the results in a div. However, the form results are a little too far down the page so I wanted the page to reload with the form results div automatically scrolled to the top of the browser window. Any advice how I can achieve this? Thanks in adavance Keith
September 19, 200917 yr Hi Keith, you can link like that to the element id in page http://www.hgvlgvtraining.co.uk/#results ( http://www.hgvlgvtraining.co.uk/index.php#results ), just put "#results" to the end of the returning code, i guess it's a "Header("Location:..".
Create an account or sign in to comment