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--->
      <thead>
        <tr>
          <th>Amount ({{currency}})</th>
          <th>Category</th>
          <th>Description</th>
          <th>Date</th>
          <th></th> <!---this will hold the edit buttons for our expenses--->
          <th></th>

Discussion (0)