Client and Serverside Button Click in ASP.Net

While I was going through the comments in this post here, someone asked a question around how button click function worked, so I thought I would write a post around this topic.
There are two types of click that can be associated with a button, one is a server side click function, i.e in a function [...]

Javascript Functions

Lately I’ve been doing some reading on javascript and JQuery. This article here isĀ  really good in explaining how the function in javascript works, and how you can use it as an object, override functions and other other really helpful information.
http://www.permadi.com/tutorial/jsFunc/

Javascript Detect Null Object

There are many methods to check if an object is null in javascript, this post gives most of the options that can used to detect this. http://lists.evolt.org/archive/Week-of-Mon-20050214/169524.html
Well, first of all, in JavaScript null is an object. There’s another
value for things that don’t exist, undefined. The DOM returns null for
almost all cases where it fails to [...]

Unspecified error in IE when setting innerHTML element in JS

Setting innerHTML in javascript is a very simple task, basically you just use the javascript
document.getElementByID(‘id’).innerHTML=”Some new text”
But lately we discovered a very strange problem when trying to set the HTML. The HTML we tried to set was this, and the span element is in there for CSS Display purposes.
document.getElementByID(‘id’).innerHTML=”<span>Some new text</span>”
As usual this works fine [...]