• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to hide whole row generated by Ajax if Total equals to 0  RSS feed

 
Ranch Hand
Posts: 72
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Below code queries the Database for PL records information and prints it on the page. I am struggling with majorly two things:
1) Printing entered start and end dates and also Company name to the page above the table. Above this "<table class="view-table" id="table">".
2) If total field is equal to 0, I want its whole row to be hidden. I cannot figure out a way to hide it.

I included screenshot of how the application works.


total.php



pl.js




pl.php
 
If you settle for what they are giving you, you deserve what you get. Fight for this tiny ad!
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!