Hi guys,
Good day!
I want to use this script for my textbox inside the footer of a datagrid that whenever I pressed enter
it will click the button save.
function validateLettersEnter()
{
k=window.event.keyCode
if (((k>=65) && (k<=90)) || ((k>=97) && (k<=122)))
{
}
else if(k==13)
{
event.keyCode=0;
document.getElementById('btnSave').click() -----> I have a problem in this part because the btnSave is inside the footer of my datagrid
return false;
}
else
window.event.keyCode=0
}
Would anybody knows the solution to this help...Tnx in advance.