Mark123 Posted July 15 Share Posted July 15 Hello,every one We attempted to use a jQuery script to trigger a button when opening an analysis file to execute the script. The script code is shown below: Ş(document) .ready(function(){ if(!document.readyFlag){ $("#ac15ac6d92f84bab87la0fdabe0lccff").trigger("click"); document.readyFlag=true; }); But it was found that DOM exists when the analysis is closed without closing the client, and this script cannot be triggered when the analysis is reopened. Is there any way to solve it? Thank you. Link to comment Share on other sites More sharing options...
David Boot-Olazabal Posted July 15 Share Posted July 15 Hi Mark, Not sure how your set up looks like, in terms of what you have done to trigger the script. Could you explain a bit more about what you have done? And what do you man by the DOM part? In the meantime, could your script be triggered via this way: https://spotfired.blogspot.com/2015/10/update-doc-property-trigger-ironpython.html? Kind regards, David Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now