Hi

I need some help :s

I have a form on my web page and when you submit it via clicking submit button it refreshes the page and shows a table of results below the form.

When the page refreshes the user has to scroll down to see the table is there anyway that the page can refresh and start at below the form?

Any advice is great :)

Recommended Answers

All 3 Replies

I have tried this but it doesnt work

<form action="pageName.php#bottom">

You're on the right track. You'll need to create an anchor for the page to go to.

In the html where you want the page to scroll to, add <a name="bottom"></a> The page should scroll to here after submit.

Ah thanks that works perfectly - cheers :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.