I am attempting to use the DEFAULT parameter within a popup_menu to set the
displayed value to what I want based on the passed parameters in the URL.
I am using Mozilla 0.9.4 on a Linux machine, and hope that isn't the reason
I'm not seing what I want to see. Here is the code:
----CODE----
#!/usr/bin/perl -w
use CGI qw(:standard);
print header, start_html("cgi_pm_test.cgi");
print popup_menu(
-NAME => "baths",
-VALUES => ["0", "1", "1 1/2", "2"],
-LABELS => {
0 => "?????",
1 => "1",
"1 1/2" => "1 1/2",
2 => "2",
}
-DEFAULT => 1,
);
print end_html;
----END CODE----
Any thoughts out there? Thanx.
--Alan
=====
Alan F. Larimer, Jr.
http://www.geocities.com/lrng_lnx/
Build a man a fire, he will be warm for a day;
Set a man on fire, he will be warm for the rest of his life.
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]