Not to sure what to do say but here it goes. I am trying to test when a certain part of my page is in focus to display a message box. Here is the page Click Here.
I would like this code to running at all times when on this page.
if(Element.tabIndex = 27)
{
if(document.getElementById("entry_53").value > 30)
{
var ade = document.getElementById("entry_53").value - 30;
alert( "Please Deposit " + ade);
}
}
What this code is suppost to do is when the table Amount in Deposit Envelope is in focus or the cursor is in the first box of that table a message box pops up telling the user what the total of that table is supposed to be. If there is a better way to do this I would be grateful for your help thank you.