I know this doesn't exactly answer your question, but you could set the focus to a form element with the -onLoad argument.

   print start_html(-onLoad=>"document.SelectImages.elements[0].focus();");
   print start_multipart_form(-name=>"SelectImages",-method=>'POST');

Perhaps instead of focus(), you can use scrollTo() to jump to something in the anchors[] array. I don't know javascript enough to guess the syntax, though.

Alex Brelsfoard wrote:

OK, so here's what we've got.  We have a perl CGI that spits out a form
based on some info in a db.  A user will fill out that form and hit
submit.  the submission actually goes to the same CGI which now interprets
what it needs to do (basically its handed search criteria).  It then spits
out a long html page.  Here's where my question comes in.  Is there any
way to have the content all spat out and then send some sort of message to
the browser telling it to go to a specific anchor point on that page?

Ideas?
Thanks.
--Alex

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm




-- Sincerely *Duane Bronson* [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> http://www.nerdlogic.com/ 453 Washington St. #4A, Boston, MA 02111 617.515.2909


_______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to