Strict Standards: Only variables should be passed by reference in /home/adrane3/public_html/phpjquery/template.php on line 9
jQuery "this" - using the identity function


"this" is a very important concept in Object Oriented Programming. In jQuery "this" is a DOM element when you are inside of a callback function. For example, if you bind a click function, and you want to change that element's color, you would use 'this'

Change my color (and make me bold)

Alert my HTML

Me too! Alert my HTML!