Error in JQuery append
archaeron opened this issue · comments
https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/append.html#L23
I think this line:
var newLI = '<li>' + item + '</li>';
should be like this:
var newLI = $('<li>' + item + '</li>');
@archaeron thanx for pointing it out :)
welcome :)