I have a simply script. For example:
var rowCount = $('tr').length;
document.write(rowCount);
I want to load this after entire webpage has loaded. How can I do?
I have a simply script. For example:
var rowCount = $('tr').length;
document.write(rowCount);
I want to load this after entire webpage has loaded. How can I do?
Use following script:
<script type="text/javascript">
$(document).ready(function () {
var rowCount = $('tr').length;
document.write(rowCount);
});
</script>