Announcement

Collapse
No announcement yet.

Macro sc_btn_display worked with event click

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Last edited by alvagar; 08-24-2018, 12:36 PM.

  • #2
    I encounter the same problem, the only solution I found is to leave the buttons visible, it would be good to be able to create an event and get it to run the same way but without having to keep the button, if someone gets around the problem i'm interested, or the same way how to proceed in javascript to retrieve a php procedure, and run it instead of the event sc_Btn _... ()

    Comment


    • #3
      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() ;

      Comment


      • #4
        A second possible solution,
        https://forum.scriptcase.net/forum/b...n-php-not-work

        Comment

        Working...
        X