Posted by araminska on 01/12/08 19:39
I always work from the perl end of a web page and very seldom see the
HTML code that the server puts out, so I am not an HTML heavy. But I have
a project that would be very easy if I could pass a single value from a
link in a static HTML script without using form action. Otherwise I have
to recode a huge static web page with links calling multiple subpages that
are almost alike except for a paragraph or two. (At this point I could
give a lecture about the mess that can occur when a "very bright" nephew
was hired for a project by the boss).
An example link is <a href="subpage.pl">Info</a> and obviously calls a
perl script with no options. I would like to call that same script from a
list of links but with some different value that the script would be able
to use to bring up the proper info.
Since all my looking in HTML books and googling always comes up with using
form action or javascript to pass values, it maybe that static HTML can't
do it.
If so, I can code the program the usual way, but I thought it would be
interesting to see if the above can be done.
Thanks any
Araminska
[Back to original message]
|