I was reading thread216-853621 where it mentions setting an Anchor point in the script and using that to do a .focus() on.
And that is precisely what I am trying to do.
In general that makes sense, but, as a newbie to JQuery, I have a question regarding the syntax needed to do that.
Doing some selective cut-and-paste from that other posting I come up with the following suggested code.
My question is -- since the Anchor point ("FOCUS_HERE") is within a DIV Section do I need to modify the syntax of the .focus() command line?
Or, as an Anchor point, can it be referenced all by itself (as shown in the possible code above)?
Thanks,
JRB-Bldr
And that is precisely what I am trying to do.
In general that makes sense, but, as a newbie to JQuery, I have a question regarding the syntax needed to do that.
Doing some selective cut-and-paste from that other posting I come up with the following suggested code.
Code:
<div class="section wrap-up hidden">
<a name="FOCUS_HERE"></a>
<div ...>
...
</div>
</div>
// and some where else doing
[b]FOCUS_HERE.focus();[/b]
My question is -- since the Anchor point ("FOCUS_HERE") is within a DIV Section do I need to modify the syntax of the .focus() command line?
Or, as an Anchor point, can it be referenced all by itself (as shown in the possible code above)?
Thanks,
JRB-Bldr