Re: Positional problem?

2003-12-05 Thread Bjørn T Johansen
Well, it kind of works... The focus is being set on the correct field, but the browser doesn't scroll the page down to that field. Is it something I am missing? BTJ On Thu, 2003-12-04 at 08:01, John Ferguson Smart wrote: When we submit the form, we call a Javascript function to set a hidden

Re: Positional problem?

2003-12-04 Thread John Ferguson Smart
When we submit the form, we call a Javascript function to set a hidden field ('target_field'), which is where we want to go on the updated page : function submitForm(theForm, actionChoice, targetFieldName) { setValue(theForm.query, actionChoice); setValue(theForm.target_field,

Re: Positional problem?

2003-12-04 Thread Bjørn T Johansen
Oki, thanks... I will try this... :) BTJ On Thu, 2003-12-04 at 08:01, John Ferguson Smart wrote: When we submit the form, we call a Javascript function to set a hidden field ('target_field'), which is where we want to go on the updated page : function submitForm(theForm, actionChoice,

Positional problem?

2003-12-03 Thread Bjørn T Johansen
I have a number of jsp pages that are longer than one page and if I am at the bottom of a page and submit the page, I get back at the top of the page. Is there a way to get back, after the submit, to the place you were before the submit? Regards, BTJ

Re: Positional problem?

2003-12-03 Thread Paul-J Woodward
: 03/12/2003 13:13 Subject: Positional problem? Please respond

Re: Positional problem?

2003-12-03 Thread John Smart
We did something like that using an extra field (focus) to know where you are and some javascript to place the focus at the right place when the page is redisplayed. Bjørn T Johansen wrote: I have a number of jsp pages that are longer than one page and if I am at the bottom of a page and

Re: Positional problem?

2003-12-03 Thread Bjørn T Johansen
Does anyone have any examples? My javascript knowledge isn't where it should be yet BTJ On Wed, 2003-12-03 at 14:49, John Smart wrote: We did something like that using an extra field (focus) to know where you are and some javascript to place the focus at the right place when the page