This project is archived and is in readonly mode.

#1230 ✓wontfix

select box getSelected().get('text') returns an array instead of string

Reported by Adidi | May 17th, 2011 @ 03:04 PM


<select id="cmb">
    <option value="1">option 1</option>
    <option value="2">option 2</option>
    <option value="3">option 3</option>
<input type="button" value="click" onclick="cl();" />
function cl(){
        var cmb ='cmb');   

This code will produce 'array'whereas i expect it to be string since get selected of a combobox and then get it text produce a single value.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins