Search code examples
jqueryhtmljquery-uipicklist

Picklist error when added, removed and added again an option


I've got a problem with picklist from jquery. Here is an example of my problem : http://jsfiddle.net/QzjTs/344/

$("#form").pickList();

$('#lesson').submit(function(msg) {
    alert($('#form').val());
});

If I select Option 1 and save it, I've got the correct value which is 30. But if i remove it and add it another time and save it, I've got 'null' instead of 30.

have you got an idea to solve this issue ?

Thank's a lot


Solution

  • I found the solution for me here : https://code.google.com/archive/p/jquery-ui-picklist/issues/16

    Thanks for the help