Removing Elements


$(document).ready(function() {
    var $p= $('p');
    $('#two').after('<p>what\'s up</p>');
    $('$p').remove('<p>what\'s up</p');

I have no idea what I am doing wrong. I've been stuck on this one and need some help. Please I need clarity


this is causing the error..

if you remove \ from what\'s the error goes away


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