Is there a way to create a web page anchor that will allow you to return to a location on the web page after a refresh? At the moment when I do a refresh I go back to the top of the page.
I have posted this twice and never get a response. I this a really dumb question and too basic to answer or there is no answer to this Question?
If someone knows how to do this it would really help me!
Hi Armando,
I believe the only way to do this is to edit the jsp that Servoy produces.
Of course that means the jsp is no longer dynamic and any changes to your solution won’t translate automatically to your jsp.
Hope this helps.
Fresh from the DEV team:
You can place a label with an html anchor like “” and refer to it with a label showing a link with “scrolldown” just as in normal html!
Thanks Bob
Let me make sure I get this. I’m going to create two labels, one that is an anchor and one that calls the anchor, right?
Can I set the call label dynamically, by set global field, g_anchorCall, with the html call? That way when you first load the page it starts at the top because the global default is empty, then when you call the refresh method it sets the global and take you back to that spot on the page where the anchor is set. Does that make sense?
I really appreciate the Servoy community, for all the help.
Yes, that’s my understanding. Give it a shot!