go to a certain part of a page from an action?

go to a certain part of a page from an action?

  

I seem to remember something like "anchors" being in one of the older revisions where you could tell the page to go to a certain part of the page.  What I need to do is from an action (ajax submit) go to a certain place on the page when the action is called.

Hi Jason,

You could include in the screen action a RunJavaScript action to click on a hidden link in the format "#Id", where the id is the Id of the element to where you want to navigate (a div, etc).

But maybe there is an easy way (and I would like to know it).

Cheers,

Eduardo Jauch

Another possibility maybe would be to add a navigate with a external url and the destination set to the #id mentioned before.

Cheers

Eduardo Jauch

Solution

To do this we ended up using the Richwidgets\Input_SetFocus widget.  It doesn't give us the ability to dynamically set the focus but it works for initial load.

Solution

Hi Jason,

Nice to hear you found a solution. :)
I wouldn't have think of solving this issue using the Input_SetFocus widget.

One more option to the list.
Thank you for sharing it.

Cheers,
Eduardo Jauch