Is there some proper way of scripting admin screens?
-
I’d like to interact via Javascript with some DOM objects that come built-in to admin screens. Specifically I’d like to disable the Publish button on the edit screen until some conditions are met (form validation).
Is there some future-proof way of getting at that button? At the moment it’s ID attribute is “publish”, but will it be in future releases?
Thanks.
- The topic ‘Is there some proper way of scripting admin screens?’ is closed to new replies.