disabling buttons with javascript

Hullo. I’m new with Scriptcase. I have a strange multirecord form that has tree custom javascript buttons that must be shown in certain order. I must control the way they shows and hide, but I only have javascript code to control if they shows or not… The macro sc_btn_display(“Button_Name”,“on/off”) can’t be used in Javascript, right?

How can I control the show or hide of this buttons during operation? (not with InAplicationInit, but when the form is working)? I have my proyect almost finished but I’m frozzen here.

Thank you, and sorry for my english

Sergio