not work jquery for for input value
Posted
by
Mohammad
on Stack Overflow
See other posts from Stack Overflow
or by Mohammad
Published on 2012-10-18T10:53:57Z
Indexed on
2012/10/18
11:00 UTC
Read the original article
Hit count: 199
main code :
var clone = div.clone();
clone.attr('id', sabad_kala_id);
$('.content').append(clone);
$('div#'+sabad_kala_id).replaceWith('<tr id='+sabad_kala_id+'><td width="50"><a class="del_kala" id='+sabad_kala_id+'><img src="images/delete.png" alt="delete" /></a></td><td width="50">1.</td><td width="388">'+title+'</td><td width="80" clas="mm"><input class="count" type="text" value='+count+' /></td><td width="100">'+price+' $</td><td width="120">'+price_count+' $</td></tr>');
and this code run perfect after append and replace , user can edit input.count in table and below code have run :
('input.count').keyup(function(e){
alert(test);
});
but this code not work :(
© Stack Overflow or respective owner