After adding a new DOM element after a ajax request, the click event for the newly added item doesn't work.
I tried to first unbind then bind, but I get an error.
$(".someclass").unbind("click", someEvent);
$(".someclass").bind("click", someEvent);
Am I doing something wrong here? (in theory)?