Hello All,
I have a Perl script that creates my HTML, which has a form, and then I set
focus to a specific part of the form with:
...my form and input fields here....
</form>
<script language="JavaScript"> document.sendquickmsg.qmsg.focus(); </script>
But just now I added an anchor in the link, so that my browser scrolls right
to the edit field. So my script is called with the achor
(http:.../myscript.pl?id=123#myanchor)
What I have found is that my Javascript set focus call no longer works if I
call the anchor. But still works if I don't.
Does one cancel out the other? Is there a work around?
Thanks ahead,
Daniel