Completely confused


How do I solve this as i have no clue.

Here is my code:

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


The selector should be $('.list').

The appended content will be a DIV with toAdd as the content.

'<div class="item">' + toAdd + '</div>'


Thank you! Appreciate the help!


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