This project is archived and is in readonly mode.

#1079 ✓wontfix

Array.from on selects - different output in FF vs IE/Chrome

Reported by Wouter | November 10th, 2010 @ 02:05 PM


Firefox 3.6.12 logs : [undefined, undefined]
Chrome/IE log : [option, option]

I actually prefer Array.from($('select')) to return [select], and Array.from($('select').options) to return [option, option], but in any way, current output for selects is not consistent.

Comments and changes to this ticket

  • Christoph Pojer

    Christoph Pojer December 16th, 2010 @ 04:42 PM

    • State changed from “new” to “wontfix”

    Unfortunately there is little we can do about this issue. IE is just crazy mad, accessing select.options actually equals the select element. So select.options.options.options == select etc. Please don't use Array.from on select elements.

Create your profile

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

Shared Ticket Bins