Casey Bralla on 18 Mar 2014 08:19:04 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] HTML Anchor & Post Data


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?




-- 

Casey Bralla

Chief Nerd in Residence
The NerdWorld Organisation

www.NerdWorld.org
___________________________________________________________________________
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