Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- html += '<tr id="product_row_scheduled_'+key+'">';
- html += '<td class="title">'+image_path+' '+product_row.title+'</td>';
- html += '<td class="text-center" id="sch_product_posted_'+key+'"> '+product_row.user_set_time+'</td>';
- html += '<td class="text-center"><a href="#" id="schedule_'+key+'" onClick="schedule_product(''+key+'',''+product_row.title+'',''+product_row.user_set_time+'')"> Schedule</a></td>';
- html += '<td class="text-center"><a href="#" onClick="cancel_schedule(''+key+'')"> Cancel</a></td>';
- html += '</tr>';
- $('#product_row_scheduled_'+key).on('change', '.product_posted_'+key+'',function(){
- console.log($('.product_posted_'+key+'').html());
- });
- $('#product_row_scheduled_'+key).on('change', '#sch_product_posted_'+key,function(){
- // ----------^ # in place of .
- console.log($(this).html());// use this here
- });
- $(document).on('change', '.sch_product_posted',function(){
- console.log($(this).html());
- });
- $(document).on('DOMSubtreeModified','.sch_product_posted', function(event){
- console.log('Html: '+$(this).html());
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement