waseem02 / jquery-asmselect

Automatically exported from code.google.com/p/jquery-asmselect
0 stars 0 forks source link

Multiple select forms won't work #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Having one document.ready() function that initializes asmselect for
select[multiple]

2. Having many select[multiple] elements in a form. 

What is the expected output? What do you see instead?

Expected output is that asmselect works for all elements; but it works only
for the first element.

What version of the product are you using? On what operating system?

1.4-beta, FF, Linux Ubuntu

Please provide any additional information below.

Original issue reported on code.google.com by srinath....@gmail.com on 16 Sep 2009 at 6:56

GoogleCodeExporter commented 8 years ago
The correct version number of asmselect is: 1.0.4a-beta. Thanks.

Original comment by srinath....@gmail.com on 16 Sep 2009 at 6:57

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Make sure that your jQuery selector accounts for all your select multiples. 
This selector would get them all $("select[multiple]").asmSelect(); Or you 
could do them with a class you assign, or individually using an ID attribute 
for each select multiple. 

Original comment by ryancram...@gmail.com on 10 Jul 2010 at 4:30

GoogleCodeExporter commented 8 years ago
I'm having the same issue. Using $("select[multiple]").asmSelect() will only 
work for the first select. Selecting them by class or ID makes no difference - 
only the first instance will work.

Original comment by blameito...@gmail.com on 10 Sep 2010 at 3:37

GoogleCodeExporter commented 8 years ago
The issue seems to occur when you use the "sortable" attribute

Original comment by blameito...@gmail.com on 10 Sep 2010 at 3:44

GoogleCodeExporter commented 8 years ago
Thanks for sharing info about "sortable" attribute - removing this attribute 
solves an issue.

Original comment by robert.a...@gmail.com on 17 Sep 2012 at 8:21