Hi,
I am using JQuery for my application.. Having a doubt on how to add a id to my element tr.
My code is
<script type="text/javascript">
$(document).ready(function(){
var tr = document.createElement('tr');
var td1=document.createElement('td');
tr.appendChild(td);
});
</script>
I am trying to add an id to the tr element
like
EDIT : by $(tr).attr('id', 'entryRow'+increment); And resolved..Thanks