###Hyjack Select###
Questions, comments, improvements are all welcome!
Hyjack Select was designed to replace traditional html select input controls (also known
as combobox or dropdownlists). Hyjack Select enchances the select by injecting a
"search like suggest" textbox which queries the page-loaded select option items.
The end result is similar to the html5 "datalist" (http://updates.html5rocks.com/2012/04/datalist-landed-in-Chrome-Canary)
The target select control is hidden from the page and replaced by the new
"hyjack select" control which is appended using the before() jQuery function.
Any on change event or select value change to the hyjacked control is
triggered back to the target select control preventing code breaks on form submit.
Any modification to display needs to be handled through CSS not hardcoded, sample
CSS has been embedded in the plugin for reference.
### Additional Functions ### ************************************************************************************* Often it becomes neccessary to update dropdowns or even disable or dispose of them.
The following is a sub-set of functional available.
<script type='text/javascript'>
/// Update Functions
$.hyjack_select.update('.selector'); // Update by Selector
$.hyjack_select.update(); // Update All hyjacks
/// Dispose Functions
$.hyjack_select.dispose('.selector'); // Dispose by Selector
$.hyjack_select.dispose(); // Dispose All hyjacks
</script>