how to stop button reloading to top of page?

G

Guest

Hi guys

I have a Calculate ASP:button on my page, and a text box next to it. I've
got it so that it calls a function with itself, so you can check the value
before submitting the form to it's final destination.

However, when I click the Calculate button, the page loads back at the top,
instead of where the Calculate button is.

How can I make it go back to where I was?

Cheers


Dan
 
G

Guest

Enable SmartNavigation on the page. This is an option in the property box
for the page. Use it with caution, as it has been the source of problems
when using non-IE browsers and when inserting your own JavaScript into the
page.
 
G

Guest

Thanks, that works...

Is there any way to do it without that? I obviously have no idea whether my
users will be using IE or not, and don't want to make their lives hell! :eek:)

Dan
 
G

Guest

I have seen some JavaScript solutions for this; however, I'm not sure how
reliable or cross-browser enabled they are. I would just try googling for it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top