Day: February 2, 2010

Learn jQuery: A simple ‘Hello World’ jQuery Code
jQuery - A powerful javascript library capable of doing all your complex javascript actions and functionality in a line or two. How cool is that. Pre-requisites : Notepad, jquery.js file(You can get it here), some coding background and an open mind Let's Start with a simple Hello World: Open your notepad, create a html file ...

How to apply width to IE and not Firefox
Well the solution is simple. All you need is the knowledge of some keyword that IE recognises while setting the property value, while Mozilla ignores it. Few solutions: 1. Using Expressions: div#maincontainer{ width:300px; /* IE and mozilla will take the width as 300px */ width:expression('100%'); /* But now mozilla will ignore this statement, but IE ...

__doPostBack and Object expected error
The best way to understand the working of the __doPostBack function is to dissect the function into small pieces and explore each piece one at a time. Let us take a look at the function. <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /> <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /> function __doPostBack(eventTarget, eventArgument) { if (!theForm.onsubmit || (theForm.onsubmit() ...