Rhodium has asked for the wisdom of the Perl Monks concerning the following question:
So when I do this..$VAR1 = bless( { 'id' => 'cmbDivision', 'name' => 'cmbDivision', 'menu' => [ { 'name' => 'The Group A', 'value' => '00' }, { 'name' => 'The Group B', 'value' => 'PQ' }, { 'seen' => 1, 'name' => 'The Group C', 'value' => 'HP' }, 'current' => 2, 'language' => 'javascript', 'onchange' => '__doPostBack(\'cmbDivision\',\'\')', 'type' => 'option'
It happily returns "HP" I want it to return "The Group C" Any ideas for the brain dead?? Thanks Much!!my $status_form = HTML::Form->parse($response); $proj{'status_division'}=$status_form->value('cmbDivision'); print"$proj{'status_division'}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTML::Form - Getting what is seen not the value..
by johnnywang (Priest) on Jan 22, 2005 at 07:38 UTC | |
by Rhodium (Scribe) on Jan 22, 2005 at 14:06 UTC | |
by johnnywang (Priest) on Jan 22, 2005 at 20:25 UTC | |
by Rhodium (Scribe) on Jan 23, 2005 at 18:31 UTC | |
|
Re: HTML::Form - Getting what is seen not the value..
by davido (Cardinal) on Jan 22, 2005 at 06:31 UTC | |
|
Re: HTML::Form - Getting what is seen not the value..
by holli (Abbot) on Jan 22, 2005 at 07:00 UTC | |
|
Re: HTML::Form - Getting what is seen not the value..
by K_M_McMahon (Hermit) on Jan 22, 2005 at 04:54 UTC |