I need to first find my check box and if the check box is checked then i need to get the InnerText. I got the solution for the above. Modified the function as below. function ReadData() { var grdContacts = document.getElementById('grdContacts'); var hiddenContacts = document.getElementById('hiddenContacts'); var rowCount = grdContacts.rows.length; if(rowCount > 1) { var browserName=navigator.appName; for(var count =1; count