Ardem
January 13th, 2017, 00:04
Now Oninit() works great the first time when you have a refresh() script to kick off in a tabbed window such as a character sheet, however when you change focus away and come back again to the same tab it does not launch again, unless you close the character sheet down.(as expected because only launches on on initializing)
My question is -- Is there a function that launches on focus, so each time you go into the tab field it launches, however does not launch the first time.
Basically I have a refresh script, that gather data from the other tabs and put in modification numbers, however I launch this refresh script at the end of the page build (oninit on the last windows object) and if there is any changes in the drop down menus. But I notice if they go to other tabs and modify data it only modifies when they get back it has not updated the calculations on the tab.
My question is -- Is there a function that launches on focus, so each time you go into the tab field it launches, however does not launch the first time.
Basically I have a refresh script, that gather data from the other tabs and put in modification numbers, however I launch this refresh script at the end of the page build (oninit on the last windows object) and if there is any changes in the drop down menus. But I notice if they go to other tabs and modify data it only modifies when they get back it has not updated the calculations on the tab.