Error while it works... "Click Da Button! Do It Naoughw!"



I have a problem that I can't understand, with the part "Click Da Button! Do It Naoughw!"

You can see my code here, to test it

Or if you prefer to see the code here...

Thank you :slight_smile:


//crée une ul
$('.list').append('<ul id="ul"></ul>');
var ul = $('#ul');
//au clic #button
    //va chercher la valeur qui est dans l'input name="checkListItem"
    var toAdd = $('input[name=checkListItem]').val();
    //crée une li avec la variable dedans




Well... I found why...
I was to speed for him and did more than expected :kissing_smiling_eyes:


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.