11/14 Ooops, try again


#1

What's wrong with my code, something missing?

$(document).ready(function() {
var input = $('input[name=checkListItem]').val();
$('#button').click(function() {
var toAdd = $('input[name=checkListItem]').val();

});

});


#2

Hi Jkiller13,

You need to remove the code on line 2 :)


#3

Thanks for the help, finally worked!