Posted on September 24, 2008 by Lisa Zhou
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 [...]
Filed under: .Net, Javascript | Leave a Comment »
Posted on July 15, 2008 by Lisa Zhou
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/
Filed under: Javascript, Uncategorized | 1 Comment »
Posted on June 17, 2008 by Lisa Zhou
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 [...]
Filed under: Javascript | 6 Comments »
Posted on May 15, 2008 by Lisa Zhou
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 [...]
Filed under: Javascript | Leave a Comment »