Macro sc_btn_display worked with event click

Hi I’m migrating a project from SC8 to SC9…i have a problem: in SC 8 the macro sc_btn_display (‘procesar’, ‘off’); hide the button and ALLOWED that a javascript Button will execute the event click for that Button: $(’#sc_procesar_top’).click();

Now in SC 9 is not possible.

Video con Flash player:
https://www.screencast.com/t/A2eI0y64bl

We hope that the SCRIPTCASE team makes the necessary adjustments. A possible solution for this:
In Javascrit Button:

sc_procesar_top.style.display="";
document.getElementById(“sc_procesar_top”).click();

A second possible solution,
https://forum.scriptcase.net/forum/bugs-ab/84521-button-type-javascript-and-button-php-not-work