[Tutor] Updating webpage
Thomas CLive Richards
thomi@thomi.imail.net.nz
Sat Jun 14 19:18:13 2003
> I know this may not be a python question but I am using python to
> write cgi. And I don't know how you have a button update the current
> page. Example would be like a "shopping cart" on amazon.com web site.
> I am trying to get some code were when the submit button is pressed it
> will remove or add a line from the webpage and leave the rest as it
> was. Any help would be appreciated.
what particular area are you having trouble with? I assume you have a
CGI which prints out a static page? then read the documentation in the
cgi module. Then it's just a matter of building a program which takes
some sort of CGI input value, and prints the page accordingly. Or maybe
I've misunderstood your problem ;)
--
Thomi Richards,
thomi@thomi.imail.net.nz