If I have:

```
$activity = $("#activity_contents").html();

```

is there a way to exclude a list item with a class:

```
<li class="correct">Something</li>

```

from the html content in the #activity\_contents div displaying?

Thanks.

Update

I have a drag and drop activity where the reset button resets the activity to it's original state using:

```
<a href="#" id="reset_activity" class="activity_button" title="Clear my answers" >Reset</a>

```

jQuery 

```
$activity = $("#activity_contents").html();

$("#activity #reset_activity").click(function(e) {
    e.preventDefault();
    $("#activity_contents").html($activity);
    refreshActivity();
});

```

But I don't want any ul li with a class of correct to reset. Is that even possible?

Thanks