This jQuery plugin replaces the traditional html select control with an improved or "hijacked" version. To begin, try exploring the various Hyjack HTML select examples. Notice, you may now type to search for available drop down items! Please feel free to discover the demos, expand on current ideas, or just drop us a note! Documenation can be found in code behind and through google code or at our jQuery plugin page!
Download NowThis is the default hyjack select loaded with 20 options which repeat and contain duplicates. Feel free to click the buttons below performing simple events on the new hyjack select.
Feel free to change the algorithms, using the dropdown list, to get a feel of how each one works. If you know of a better algorithm, or have an idea, please let us know we are always looking to improve!
In this example we have set the restricted search setting to "true", forcing a user to only select from the options we allow. For example, try typing "Apple", although there are no options available - when we click away, the previous search is cleared restricting a search to only available options. Additionally, you can dynamically add 5 new items to this hyjack using the buttons below.
By default hyjack takes the width of the original select, however; this will chop off the longest option value (since we now have a cancel 'x' button to deal with). If you would like to modify the width or increase the offset setting use the dropdown lists below.
These are just examples of globally updating and disposing hyjacked controls. This example is showing how quickly you can affect each hyjack on the page.