var instance = new ComponentName(selector, options)
selector
can be an Element, or an css selector string options
is an object where all the options for an object can be configured. To use the default behaviour the options parameter may be left off. menu.value() // this will get the value of the menu
menu.value('one') // this will set the value of the menu to 'one'
menu
.items(['one', 'two', 'three']) // returns the menu
.value('one') // also returns the menu since we are setting a value
hx.select('#bob').attr('disabled') // this returns the value of the disabled attribute
hx.select('#bob').attr('disabled', 'disabled') // sets the value of the disabled attribute