here is the code i used
Code:
document.write(timer);
var start = {
	clickHandler:function(){
		alert("This is a simple click handler .");
	}
};
var elmnt=document.getElementById("test");
elmnt.onclick=start.clickHandler;
and the html code
Code:
<a href="#" id="test">Test Me</a>
I think every bite of code is right , but when i try to execute , i get the error
elmnt has no properties .
I am confused everything appears to be syntax correct.