How would i apply css style s to the dynamically created table element?? tblResult is a dynamic table i am creating .
<script type="text/javascript">
$(document).ready(function () {
$('#tblResult tbody tr').on('mouseover', function () {
$(this).addClass('highlightRow');
});
});
Is It true that .addClass will not work with the dynamic controls in jquery?
Suppose If i want to add class to child element:
$('body').on('mouseover', '#tblResult tbody tr td #im', function () {
$(this).addClass('transition');
});
Is that ok??