Announcement

Collapse
No announcement yet.

button loose style on sc_btn_display on or off on load event

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

  • button loose style on sc_btn_display on or off on load event

    button loose style on sc_btn_display on or off

    on load event if we hide button with sc_btn_display, it loose it style when its visible again
    if ({status} === 'APPROVED')
    {

    sc_btn_display ('update', 'off');
    sc_btn_display ('Approve', 'off');
    sc_btn_display ('delete', 'off');

    }else
    {
    sc_btn_display ('update', 'on');
    sc_btn_display ('Approve', 'on');
    sc_btn_display ('delete', 'on');
    }

    when we inspect in crome, style="vertical-align: middle;" instead of style="vertical-align: middle; display:inline-block;"
    Attached Files
    Last edited by huzefaid; 03-25-2018, 03:41 AM.
Working...
X