onfocus function in javascript without using id -
i have table , few rows, when user enters value in cell, checks correct format , pop's message if value incorrect , want focus stay in current cell. dont have id in input type, directly passing value.
can tell me, without using document.getelementbyid().focus(), other way focus on current cell.
tia
if event handler bound input should able capture this
. otherwise should able read target
property of the event object.
Comments
Post a Comment