I have a tabui that opens multiple tabs with a click of a button. One of the tab is a grid which displays some data and has a button that makes an ajax call back and executes some xbasic code. This system has been running for years however there has been some issues recently where the user pressed the button twice and caused issues with some files being generated in the background. I use action java script and call the ajax function, I am trying to add another action and use inline code to make the button disappear ( or even disable it). I found couple of methods, setButtonDisplay and setButtonDisabled that I can use, however the example talks about setting a pointer to the window object by using getWindow. Where would I set this pointer at, how would I know the ID of my window ?
I am using alpha V11 build 4096