Closed archaeron closed 12 years ago
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 :)
this is now fixed at 4e339c7e0b9cf116594b96ceada25fbc93aec795, closing issue
welcome :)
https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/append.html#L23
I think this line:
should be like this: