This seems to work in FF3.5 and IE6: $("#trade").focus(function() { this.blur(); window.focus(); });
IE6 doesn't support blur on select, so the window.focus() seems to make it work. Haven't tried other browsers. Another option is to just disable the field, but that'll prevent the value from being submitting with the form. Otherwise, you'd have to store the value somewhere else (e.g. hidden field) before submitting. On Oct 14, 11:34 am, "Dave Maharaj :: WidePixels.com" <d...@widepixels.com> wrote: > I have a select input that when clicked i want to prevent from dropping > down. How can this be done? > > I only have this so far: > > <script type="text/javascript"> > $(document).ready(function(){ > $("#JobStateId").mousedown(function(){ > > alert('clicked'); > return false; > });}); > > </script> > > Dave