Reply to Commas in OPTION tags

Your name:

Reply:


Posted by JDS on 01/17/42 11:42

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 |
| |
| |
-------------------


The stuff after the comma does NOT SHOW UP!! This occurs for me in
Firefox 1.5, MSIE 6, Opera 8.51, and Konqueror 3.4. (It should be noted
that this problem did not occur in two text-mode browsers, elinks and
lynx. Also, I use Linux as my test platform -- don't know if that matters.)

I don't know what is going on! When I change the commas to anything else,
slash (/), hyphen (-), or whatever, the second half of the text items
shows up.

Any insight into this issue would be greatly appreciated!

Thanks! Lotsa exclamation points!!!

--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

[Back to original 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

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