DEV Community

Aditya Kumar
Aditya Kumar

Posted on

I want to insert a button in my table that shows expenses using javascript when the user searches someting in the searchfield

Here is my template html code :-

<!---this table will show if the user has noting in the searchField---&gt
  <div class = "default-table" >
    <table class = "table table-stripped table-hover">
      <!---table head--->
          <th>Amount ({{currency}})</th>
          <th></th> <!---this will hold the edit buttons for our expenses--->

Discussion (0)