Button type javascript and button php not work

first you could insert javascript code to be executed before a php button, creating two buttons, one javascript and one php, the latter hidden. so I could execute the code of the php button, putting in javascript the function to call it sc_btn_name () … this does not work when I hide the php button

It is a good option too. :wink: