Discussions

Button positioning problem above table with JavaScript

  • 1.  Button positioning problem above table with JavaScript

    Posted 07-23-2018 17:58
    Generally speaking, I have selected the table via JavaScript and positioned the button above the table with, $(table[dbidTable]).before(button blah blah)

    This is very convenient, but on some scripts I need my button to appear even when there is no table (because there are no records).

    Another question, is there a selector for the 'Add Record' button on a table and can I remove it?