| Author: Antony Benadict Amal 07 Jan 2009 | Member Level: Silver | Rating:    Points: 6 |
try this script
var theGridView = document.getElementById("Grid_Con"); for ( var rowCount = 1; rowCount < theGridView.rows.length; rowCount++ ) {
if ( theGridView.rows(rowCount).cells(9).children(0)!=null) {
if ( theGridView.rows(rowCount).cells(9).children(0).checked == true) { if (theGridView.rows(rowCount).cells(6).children(0).value == "") { alert("Please Enter data"); theGridView.rows(rowCount).cells(6).children(0).focus(); return false; } } } }
|