For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > October 2005 > Combined <select> and <input>









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 Combined <select> and <input>
Jonathan Mangin

2005-10-21, 6:55 pm

Hi all,

Don't know where else to ask...sorry.

I've seen several pages with <select> constructs where
the first <option> appears to be <input type=text...>
e.g. :)

<select name=menu size=1>
<option><input type=text value="Whatever">
<option>Whomever
</select>

How is this done??
Thanks,
Jon

Paul Lalli

2005-10-21, 6:55 pm

Jonathan Mangin wrote:
> Don't know where else to ask...sorry.
>
> I've seen several pages with <select> constructs where
> the first <option> appears to be <input type=text...>
> e.g. :)
>
> <select name=menu size=1>
> <option><input type=text value="Whatever">
> <option>Whomever
> </select>
>
> How is this done??


I have never in my life seen that. I would love to see an example.
And frankly, if you find an example, why not simply view the source to
see what it looks like?

Paul Lalli

David Dorward

2005-10-21, 6:55 pm

On Fri, Oct 21, 2005 at 10:28:20AM -0500, Jonathan Mangin wrote:

> I've seen several pages with <select> constructs where
> the first <option> appears to be <input type=text...>
> How is this done??


With relatively complicated client side stuff, certainly not with CGI.

news:comp.lang.javascript would probably be the best place to ask.

--
David Dorward http://dorward.me.uk

Sponsored Links







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

Copyright 2008 codecomments.com