Make a button countdown timer which will be permanently disabled after 5 minutes even on page refresh it should remain disabled
<p>I want to make a count down timer on a two different buttons which will be permanently disabled after 5 minutes even on refresh it will remain disabled. How can i make it in javascript or jquery or ajax ? I just cant seem to make it for my code.Cancel button should be disabled in 5 minutes on load here </p>

<pre><code>&lt;table cellspacing="0" cellpadding="0" border="0" class="tbl_repeat"&gt;

    &lt;tr&gt;
        &lt;th&gt;Table No&lt;/th&gt;
        &lt;th class="ta_r"&gt;Date&lt;/th&gt;
        &lt;th class="ta_r col_15"&gt;Status&lt;/th&gt;
        &lt;th class="ta_r col_15"&gt;Total&lt;/th&gt;
    &lt;/tr&gt;


        &lt;tr&gt;
            &lt;td&gt;&lt;?php echo $row['Table_id']; ?&gt;&lt;/td&gt;
            &lt;td class="ta_r"&gt;&lt;?php echo Helper::setDate(1, $row['date']); ?&gt;&lt;/td&gt;
            &lt;td class="ta_r"&gt;
                &lt;?php 
                    $status = $objOrder-&gt;getStatus($row['status']);
                    echo $status['name']; 
                ?&gt;
            &lt;/td&gt;
            &lt;td class="ta_r"&gt;
                &amp;#8360;&lt;?php echo number_format($row['subtotal'], 2); ?&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
            &lt;th class="ta_r col_15"&gt;Cancel Order&lt;/th&gt;
            &lt;th class="ta_r col_15"&gt;Order Timer&lt;/th&gt;
            &lt;tr&gt;
            &lt;td&gt;

                &lt;a href="/pages/delshow/delete.php?delete_id=&lt;?php echo $row['id'];?&gt;" id='abcd'&gt;
                &lt;button class="acount-btn" id="abcd"&gt;Cancel&lt;/button&gt;
                &lt;/a&gt;
            &lt;/td&gt;

            &lt;td&gt;
                &lt;a href="pages/countdown.php?timer=&lt;?php echo $row['response'];?&gt;" &gt;&lt;img src="pages/order-images/clock-circle.png"/&gt;
                &lt;/a&gt;
            &lt;/td&gt;

        &lt;/tr&gt;
        &lt;br/&gt;&lt;br/&gt;&lt;br/&gt;
    &lt;?php } 
    else
    {

    }

    }
    ?&gt;

&lt;/table&gt;
</code></pre>