ashpassword
Programmer
we are using IE 6 and NS 6.1 which we cann't change as requirement restricts.
Now the problem we are facing is after validation of any field if validation fails we select the text and set focus to that field, now this is working fine in IE and in NS it selects the field but takes focus to next field thus allowing user to enter invalid data, which we don't want.
Code we are using is for e.g.
function checkNom(txtObj)
{
//if txtObj.value fails
txtObj.select();
txtObj.focus();
return false;
}
Hope things are very clear now.
Expecting your early reply. Please don't suggest to change browser.
Now the problem we are facing is after validation of any field if validation fails we select the text and set focus to that field, now this is working fine in IE and in NS it selects the field but takes focus to next field thus allowing user to enter invalid data, which we don't want.
Code we are using is for e.g.
function checkNom(txtObj)
{
//if txtObj.value fails
txtObj.select();
txtObj.focus();
return false;
}
Hope things are very clear now.
Expecting your early reply. Please don't suggest to change browser.