I\'ve been working with jQuery for a pair of weeks and I\'ve noticed it works fine with objects that are in the original HTML document, but when I generate a new element usi
function bindme(){
$('.whatever').click(function(){
alert('binded');
});
};
bindme();
//function that will generate something
function foo(){
$('.whatever').val('oryt');
bindme();//rebind itagain
}