For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > November 2004 > Using object <Select>









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Using object <Select>
Augusto Flavio

2004-11-13, 3:55 am

Hi,


I'm here again for a more question. My doubt is how
use correctly the object html <select>.

I'm trying make something like this:

http://javascript.internet.com/form...ist-modify.html


But i have a big problem! The object <select> just
work if i selected the items on the object SELECTED.

if you look the link you will see 2 objects: Avaliable
and Selected.

I want make some code to get the values of the object
SELECTED. But i just get the values selected on the
object SELETED.Look my code:

@values = $query->param('destList');
foreach (@values) {
print $_.;
}

How i get all itens of the object SELECTED without
selected this itens? Can i do this ?


ps.: Sorry my bad english



Tranks




Augusto Flavio





________________________________________
_______________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/
Chasecreek Systemhouse

2004-11-14, 3:55 am

On Sat, 13 Nov 2004 00:32:47 -0300 (ART), Augusto Flavio
<moraisaf@yahoo.com.br> wrote:
> Hi,


Hello :)

> http://javascript.internet.com/form...ist-modify.html


> I want make some code to get the values of the object
> SELECTED. But i just get the values selected on the
> object SELETED.Look my code:
>
> @values = $query->param('destList');
> foreach (@values) {
> print $_.;
> }
>
> How i get all itens of the object SELECTED without
> selected this itens? Can i do this ?


This is a client-side issue and the beginners-cgi list covers a
"server-side" type environment.

Short answer: You cannot get anything the remote client doesn't select for you.

Long answer: You may be able to get the remote client to do more if
you make more 'selected" items the default. But you still cannot make
the remote clent do things they may not want to do.

LONGER Answer: research -
http://search.cpan.org/~skud/WWW-Au...WWW/Automate.pm


> ps.: Sorry my bad english


:)

Your english seems fine to me -- but I'm an American ... so.

--
WC -Sx- Jones
http://insecurity.org/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com