AnsweredAssumed Answered

Waiting to execute javascript once page is fully loaded in Sugar 7

Question asked by Mike Solomon on Jun 11, 2014
Latest reply on Apr 1, 2019 by Robert Sinclair
I need to hide a button in record view depending on the status

The problem I have is that the page needs to be fully loaded before I run the javascript to hide it

How can I do this?

I tried $( document ).ready(function() { but that doesnt work

Any ideas will be gratefull received

Sugar 7 is beginning to seriously depress me :(