HTML5 Canvas Color Picker

This code is to use HTML5 to create a page color Picker. First draw a picture in the Canvas, and then we …

jQuery API – .data()

Description: Store arbitrary data associated with the matched elements.The .data() method allows us to attach data of any type to DOM elements in a way that is safe from circular references and therefore from memory leaks.

jQuery API – .html()

Description: Get the HTML contents of the first element in the set of matched elements.This method is not available on XML documents.

jQuery API – jQuery.param()

Description: Create a serialized representation of an array, a plain object, or a jQuery object suitable for use in a URL query string or Ajax request. In case a jQuery object is passed, it should contain input elements with name/value properties.

jQuery API – jQuery()

Description: Accepts a string containing a CSS selector which is then used to match a set of elements.