Friday, July 31, 2009

Amazing Time & Date

On August 7, 2009

At 12hr 34 minutes and 56 seconds on the 7th of August 2009, the time and date was-

12:34:56 07/08/09
1 2 3 4 5 6 7 8 9

This will never happen in your life again??!!!!

Thursday, July 30, 2009

Show/Hide from JavaScript Code

To make a DIV visible or hidden from JavaScript use the code

<script type="text/javascript">
    var DivToApply = document.getElementById("Div1"); = "visible"; = "hidden";

Tuesday, July 14, 2009

Make a Checkbox Read-Only

To make a html input type checkbox readonly is not possible from its default properties. So we can just use this small tricks to make it read only.

<input type="checkbox" onClick="return false;" CHECKED />Readonly
<input type="checkbox" CHECKED DISABLED />Disabled

It looks like: