Question: How can i store the variables in savestate() method of `TombstoneHelper` class to avoid Tombstone in windows phone 8.

Answer: 
try:

```
$(document).on('click','.test2',function(){
    $('.test2').remove();
});

```

[fiddle](http://jsfiddle.net/suhailvs/AzW7a/2/)
You need to use event delegation since it's created on the fly

```
$(document).on("click",".test2",function(){
    $(this).remove(); //you can use 'this' instead
});

```