I think you should be attaching the event first & then make the change. Don't you?
Besides you might have to fire the event manually (using .trigger
), like this:
$(document).ready(function(){
$(".hello").change( function(){ alert("change"); });
$(".hello").val(1+1).trigger("change");
});