VB script statement ,
Set oHighlightedRow = document.all("SearchRow" & nHighlightedRow)
oHighlightedRow.cells(0).focus()
These two statments need to be converted to javascript.anyone can help me to find a solution?
Thanx
My converted code was,
var oHighlightedRow = $("#SearchRow" + nHighlightedRow);
oHighlightedRow.cells[0].focus();
Is this correct ?
OK:
Or, better (assuming the row has an id of
"SearchRow" + nHighlightedRow):Or, jQuery (again assuming the row has an id of
"SearchRow" + nHighlightedRow):