Hello everyone, In our application, managers log-in and see some Buttons, or regular users will log-in and see different buttons. Without knowing who has logged in, I'd like to disable all buttons in this function:
The trouble is, if a user has logged on, the manager's button isn't displayed, and the first 'disable' gives me a script error. Same thing if the manager logged on: the user's button doesn't display, and the second 'dsiable' gives an error. How can check to see if a button is displayed, or absent?