Search This Blog

Tuesday, October 30, 2012

how to check pc start time?

open command prompt and run the following command.

C:\users\arvibk>syteminfo | find /i "boot time"

Wednesday, October 10, 2012

How to set event and attribute to a control from javascript.

var objMy = document.getElementById("ddlMy"); //objMy.setAttribute(name,value); objMy.setAttribute("onchange","test();"); function test() { alert('test'); }