Floyd Johnson on 18 Mar 2014 11:24:43 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] HTML Anchor & Post Data |
<BODY onload="window.location.href+='#Anchor';" ... assuming #Anchor is defined on that page
Date: Tue, 18 Mar 2014 11:18:58 -0400 From: Casey Bralla<MailList@nerdworld.org> To:plug@lists.phillylinux.org Subject: [PLUG] HTML Anchor & Post Data Message-ID: <4985892.VomKMB8OpS@m5> Content-Type: text/plain; charset="us-ascii" I've written a project management program that uses a web interface. One of the things I want to do is include a link to an anchor on the page, so that the page automatically scrolls down to the <a name="location"></a> anchor. However, I also want to include data in the URL line as part of a "post" process from a form. Unfortunately, I don't seem to be able to make both of these things happen at the same time. For example: "http://www.somebody.com/cgi-bin/Project.py?ProjectNumber=2014-0001" works fine to automatically load the page for this project number. Likewise,"http://www.somebody.com/cgi-bin/Project.py#Anchor" automatically jumps to the anchor location. But I can't combine the 2! If I try"http://www.somebody.com/cgi-bin/Project.py#Anchor?ProjectNumber=2014-0001", the project number is not picked up by the python script. Anybody got any ideas?
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug