|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
I have an edit form where I need to call a function for 45 boxes whenever a user moves the cursor from any one of the 45 boxes. So, in my screen script, I have the following:
function box1_onBlur() { changeToZero(); Command.refreshWindow(); } function box2_onBlur() { changeToZero(); Command.refreshWindow(); } etc... Can you call an _onBlur event for more than one box efficiently? Something like: function boxBD01Hours_onBlur();boxBD02Hours_onBlur() { changeToZero(); Command.refreshWindow(); } ??? Any ideas? |
|||
|
not really, but you could move the refresh to the change to zero function, and make it a single line:
function box1_onBlur() { changeToZero(); } function box2_onBlur() { changeToZero(); } Luke Stephenson |
||||
|
That's an idea I hadn't thought of. Thanks Luke!
|
||||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

