Skip to main content

Bug Tracker

Side navigation

#8975 closed bug (worksforme)

Opened April 26, 2011 06:50AM UTC

Closed April 27, 2011 02:33AM UTC

Last modified April 27, 2011 06:20AM UTC

Opera 11 and list selectors

Reported by: Owned by:
Priority: low Milestone:
Component: selector Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:

<div id="form">

<select name="AAA"><option value="111" selected>111<option value="222">222</select>

<select name="BBB"><option value="111" >111<option value="222" selected>222</select>

<input type="text" name="XXX" value="foo"/>

<input type="text" name="YYY" value="bar" />

<input type="text" name="ZZZ" value="baz" />

<input type="checkbox" name="DDD" value="baz" checked/>

<select name="CCC"><option value="111" >111<option value="222">222<option value="333" selected>333</select>




<tr><td><textarea id="expect" style="width: 100px; height: 100px"></textarea></td><td><textarea id="resultset" style="width: 100px; height: 100px"></textarea></td></tr>

<tr><td colspan="2"><input type="text" id="eq" style="width: 200px"></td></tr>


<script src=""></script>


(function($) {

var $resultset = [], $expect = "AAA=111\\r\\nBBB=222\\r\\nXXX=foo\\r\\nYYY=bar\\r\\nZZZ=baz\\r\\nCCC=333";


$resultset.push ( + '=' + this.value);


var $result = $resultset.join("\\r\\n");



$('#eq').val($result == $expect ? 'equal' : 'not equal');



<!-- in Opera 11 we have only "select" without :text -->

Attachments (0)
Change History (6)

Changed April 26, 2011 06:52AM UTC by comment:1

Sorry for inline code - link to jsfiddle: (affected only in opera)

Changed April 26, 2011 07:00AM UTC by comment:2

Changed April 26, 2011 07:07AM UTC by anonymous comment:3

But this variant working as expected:

Changed April 27, 2011 02:33AM UTC by rwaldron comment:4

component: unfiledselector
priority: undecidedlow
resolution: → worksforme
status: newclosed

Closing per OP findings

Changed April 27, 2011 04:39AM UTC by comment:5

Work for you, but not works for me (and my clients), see


Thanks for reopening this bug.

Changed April 27, 2011 06:20AM UTC by comment:6