I'm having a hard time trying to solve this.

Here is my sample code:

```
$.ajax({
 url: 'json.php',
 data: {some_data:some_value},
 dataType: 'json',
 success: function(){
   $('.some_element').append('<div class="myElement">Click Me</div>');
 }

```

Then, I have added the following code, this is the code where I am having the problem:

```
$('.myElement').click(function(){
 alert('It works!');//BUT it's not working.
})

```

Any advice, idea?

Thanks Guys!