I’m trying to run following statement:-
$$('#L'+id).attr('src',likebutton);
$$('#LikeCount'+id).html(status);
Above statements did not run or nothing happens.
Here, element with id 'L'+id
exists before the event is fired up and this element is added dynamically(which i believe is the main reason for this abnormal behaviour