Displaying keyword search results 1 - 3
Created by James on May 01, 2011 21:57:33 Last update: May 01, 2011 21:57:33
Both visibility:hidden and display:none hides an element in the DOM. But elements with visibility:hidden still takes up space, while display:none does not. Example (click the divs to hide or show):
<!doctype html> <html> <head> <style t...
Created by James on March 02, 2011 12:29:38 Last update: March 11, 2011 08:42:50
jQuery event delegation allows you to bind event handlers to elements not yet created, under these conditions: The DOM element must nest inside the element to which the event is delegated to The inner element must not stop event bubbling The opposite of delegate is undelegate .
<!DOCTYPE HTML> <html> <head> <title>jQu...
Created by Dr. Xi on September 07, 2008 21:14:46 Last update: September 07, 2008 21:14:46