shellyBelly / dropdown-check-list

Automatically exported from code.google.com/p/dropdown-check-list
0 stars 0 forks source link

.change not working anymore #210

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
** What steps will reproduce the problem?
Try using change to monitor changes to list:

        $j('.social-tag-item').change( function() {
                   var selvalue = $j(this).serializeArray();

** What is the expected output? What do you see instead?
I expect selvalue to show the selected list. Im pretty sure this was working at 
one point, maybe on previous jquery version?

** What is your environment?
firefox 3

-- DropDownCheckList version:
How do I figure this out? Its pretty recent within last few months I think.
-- jQuery version:
1.6.2
-- jQuery UI version:
1.8.16
-- Browser and version:
firefox 3.6.23

** Please provide any additional information below/Please attach sample
html
Without dropdown checklist enabled this jquery function gives me the list of 
selected items, once its enabled I get all the list of items ever checked.

Original issue reported on code.google.com by taskow...@gmail.com on 8 Oct 2011 at 9:23

GoogleCodeExporter commented 9 years ago
I am not sure what would be needed to ensure that the .change event fires as 
the DDCL responds to user input.  Trying to mimic all javascript events of the 
original SELECT object is not one of the design goals of DDCL.  See the 
'onComplete' and 'onItemClick' callback functions that you can define to watch 
for changes in the DDCL state.

I will be taking no further action on this issue, but I will leave it open so 
that others in the community may notice and be able to assist you further.

Original comment by womohun...@ittrium.com on 10 Oct 2011 at 1:22

GoogleCodeExporter commented 9 years ago
I did a test, everything worked fine with jquery 1.4.2, when we use 1.6.2 lots 
of stuff breaks including above. Also the ALL doesnt work properly with 1.6.2

Original comment by taskow...@gmail.com on 11 Oct 2011 at 7:43

GoogleCodeExporter commented 9 years ago
I upgraded to latest version and both work fine now, sorry about that, I guess 
older versions of the js were not labled.

Original comment by taskow...@gmail.com on 11 Oct 2011 at 7:50

GoogleCodeExporter commented 9 years ago
The DDCL .js files have been labeled with an explicit version for some time 
now.  In addition, look at the sample pages for a simple button wiring that 
posts an alert which reports on the internal DDCL version number.
Glad you found the problem and that things are working for you once again.

Original comment by womohun...@ittrium.com on 11 Oct 2011 at 8:03