You are here: Re: Commas in OPTION tags « HTML « IT news, forums, messages
Re: Commas in OPTION tags

Posted by Els on 11/23/78 11:42

JDS wrote:

> I am confused. I have a list of <OPTIONS>'s and each item in the list has
> a comma. (It is a list on names: "lastn, firstn"). This is a list of
> OPTION's that is in a SELECT MULTIPLE select box.
>
> However, the second part of each item does not appear in the list -- it is
> blank!
>
> Example:
>
> HTML code:
>
> <select multiple size="15" name="user_pool[]" id="user_pool" class="select_pool">
> <option value='160'>Tester,Tester Q.</option>
> <option value='183'>Tester 1 Lastn,Tester 1 Firstn</option>
> <option value='184'>Tester 2 Lastn,Tester 2 Firstn</option>
> </select>
>
> Browser Output (ASCII drawing):
>
> -------------------
>| Tester |
>| Tester 1 Lastn |
>| Tester 2 Lastn |
>| |
>| |
> -------------------

It's not the HTML. I just tried it locally, and the commas and text
after the commas appear as expected.
I'm guessing you are using some kind of CMS or scripting to write this
code to the website? Try escaping the commas maybe?

--
Els http://locusmeus.com/

Now playing: Dave Edmunds - Queen Of Hearts

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация