Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
11-17-2009, 11:26 AM #1
jquery help, hide and get day month name
How can I use Jquery to change the span text to the current month name and hide the tr if its after the 15th of the month?
<tr class = "hideIfDayOfMonthAfter15"> <td class="flag" ><span class="month"> December</span> </td> </tr>
11-17-2009, 02:35 PM #2
- Join Date
- Nov 2007
- Thanked 330 Times in 326 Posts
new Date(). The first answer to this post shows how to fetch the current date by parts. That would take care of the span month. To hide the tr, you could test the current day value and hide/show based on that.
Are you a Help Vampire?