I have a series of div classes that populate with buttons. I need to disable the buttons only after a certain time of the CURRENT day passes to avoid the user clicking on them.
I was able to get this sort of working using this solution but it does not address only doing this for the CURRENT day and did not disable only the button from being clicked.
I really have no idea where to begin?
Here is my div. For example if it's past 1400 I want to disable zillow-4 div and if its past 1600 I want to disable zillow-5 :
<div id="zillow-4" style="height:50px;"><a class="button " href="updateScheduleRequest.php?slotid=4&timeremain=110&current_date=2015-11-02&empnum=702">Assign Slot 4</a></div>
<div id="zillow-5" style="height:50px;"><a class="button " href="updateScheduleRequest.php?slotid=5&timeremain=110&current_date=2015-11-02&empnum=702">Assign Slot 5</a></div>