Altering a Jquery Drop Down Filter Plugin to Refocus on the Dropdown after applying the Filter
<p>The Plugin I'm using is direct from the Jquery site, Source Pastebin'd Here <a href="http://pastebin.com/RRr6EJhv" rel="nofollow">http://pastebin.com/RRr6EJhv</a></p>

<p>When the Filter is applied to the Select Box in Question I'd like focus to return to the drop down because the plugin automatically selects the first of the filtered records and I have an Onchange event on the drop down which isn't being triggered, so I can add an Onfocus event to trigger the same function and this will respond to the focus() command. </p>

<p>I tried adding document.getElementById('PATIENT').focus(); to the bottom of this plugin file and above the "Return true" but neither worked, both said that document.getElementById('PATIENT') was null. </p>

<p>thanks!</p>

<p>EDIT: </p>

<p>Thanks to the people who were helpful, as I dug further into this Plugin's documentation I discovered some cross Browser problems and some other bugs and issues, So instead of Modifying this one, I switched to another plugin that does Similar things, it can be found here: <a href="http://vladimir-k.blogspot.com/2009/02/sexy-combo-jquery-plugin.html" rel="nofollow">http://vladimir-k.blogspot.com/2009/02/sexy-combo-jquery-plugin.html</a></p>
