Drop Down and textBox

Drop Down and textBox

am 21.01.2008 20:56:12 von Go Live

HI,

I am trying to include textbox and dropdown in a single cell. The
things goes like this there is one radio button for textbox and one
radio button for dropdown. Now when the user click one radio button
texbox should appear in a cell and when other radio button is
clicked dropdown should appear in the same cell by removing the
textbox and viceversa.

The code goes like this:

























NAME="txtKeyword">


Any suggestions or good examples will be very much appreciated.

Thanks

Re: Drop Down and textBox

am 21.01.2008 21:43:11 von John Hosking

Go Live wrote:
>
> I am trying to include textbox and dropdown in a single cell.

One wonders why.

> The
> things goes like this there is one radio button for textbox and one
> radio button for dropdown. Now when the user click one radio button
> texbox should appear in a cell and when other radio button is
> clicked dropdown should appear in the same cell by removing the
> textbox and viceversa.
>
> The code goes like this:

I have snipped your code for the following reasons:
1) You should have posted a URL to your page (preferably a simplified
test page, validated) as is customary here, instead of posting code.
2) This code is poorly formatted for usenet. Why do we need a nine-TAB
indent? This is hard to read.
3) This code is invalid. Visit http://validator.w3.org/
4) This code doesn't seem to be an attempt to place a textbox and
dropdown in a single cell. It looks like you want them in *different*
cells. But you've got an extra which probably ought to be a
and with messed-up code like this it's not easy to help you anyway.

You don't seem to have researched this much. Maybe if you have a read
through http://www.w3.org/TR/html4/interact/forms.html it'll help you.


--
John
Foolishly ignoring the UIP: http://improve-usenet.org/

Re: Drop Down and textBox

am 21.01.2008 22:17:22 von Go Live

I am sorry for this. But if you get an idea of what i am trying to
tell here then please post some good examples. Please don't go with
the above HTML code its just a rough piece of code to give some idea
of what i am looking for.

Thank you very much.

Re: Drop Down and textBox

am 22.01.2008 03:39:16 von Adrienne Boswell

Gazing into my crystal ball I observed Go Live
writing in news:4afde53f-ea69-4e7a-b492-ea5da70471f5
@l1g2000hsa.googlegroups.com:

> I am sorry for this. But if you get an idea of what i am trying to
> tell here then please post some good examples. Please don't go with
> the above HTML code its just a rough piece of code to give some idea
> of what i am looking for.
>
> Thank you very much.
>
>

What are you replying to? Please understand that you are posting to a
Usenet group - not a message board. Some news servers may not have all
messages, so it is important to always quote to what you are referring,
trimming as necessary.


--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Re: Drop Down and textBox

am 22.01.2008 10:52:03 von Andrew Bailey

"Go Live" wrote in message
news:5269f920-8322-4699-bde9-bf19ebf6c4d1@j20g2000hsi.google groups.com...
> HI,
>
> I am trying to include textbox and dropdown in a single cell. The
> things goes like this there is one radio button for textbox and one
> radio button for dropdown. Now when the user click one radio button
> texbox should appear in a cell and when other radio button is
> clicked dropdown should appear in the same cell by removing the
> textbox and viceversa.
>
> The code goes like this:
>


>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

>

>

> > NAME="txtKeyword">
>

>
> Any suggestions or good examples will be very much appreciated.
>
> Thanks

Here's a rough example that should get you going...














Check this box for TEXT INPUT




Check this box for DROPDOWN MENU


Hope this helps

Andy