Assuming embeddedapp is required, the following result was found.
(note that I have SCRIPT within the BODY tags and not in the HEAD): Loading... Please Wait... console.clear(); ZOHO.embeddedApp.on("PageLoad", function(r_Data) { // for debugging console.log(r_Data); // get id and module on page (if this is a button off...