remove() not working in jquery, turn no method -
var deletetarget = $('ul li .active'); deletetarget.remove(); not sure what's wrong, console says has no method, or shall still use $(deletetarget) ?
$ not jquery in case.
you can check if with:
console.log($().jquery); // if undefined, it's not jquery
Comments
Post a Comment