It’s the onmouseup event that is causing the selection to get unselected, so you just need to add:
$("#souper_fancy").mouseup(function(e){
e.preventDefault();
});
More Related Contents:
- Click event on select option element in chrome
- Distinguish Chrome from Safari using jQuery.browser
- jQuery Adding new option to select element doesn't pick up the string [closed]
- Get the real width and height of an image with JavaScript? (in Safari/Chrome)
- jQuery get value of select onChange
- Is it possible to display a custom message in the beforeunload popup?
- How can I use jQuery in Greasemonkey scripts in Google Chrome?
- jQuery .load() call doesn’t execute JavaScript in loaded HTML file
- Use jQuery to change a second select list based on the first select list option
- jQuery: Best practice to populate drop down?
- Best way to unselect a in jQuery?
- WebKit issues with event.layerX and event.layerY
- How to get a cookie from an AJAX response?
- jQuery .load() not working in Chrome
- jQuery `.is(“:visible”)` not working in Chrome
- How do I auto-hide placeholder text upon focus using css or jquery?
- How to make the first option of selected with jQuery
- How do you stop Chrome and Opera sorting JSON objects by Index ASC?
- How to select an element that has focus on it with jQuery
- How to make Chrome remember password for an AJAX form?
- Maintain PHP Session in web app on iPhone
- Extension refuses to load the script due to Content Security Policy directive
- How to detect if a browser is Chrome using jQuery?
- Chrome and Safari XSLT using JavaScript
- Disable select options based on value *through the HTML only!*
- How do I console.log a jQuery DOM Element in Chrome?
- Jquery trigger click not working on safari browsers in mac, Ipad & Iphone
- Mobile Safari $(window).height() URL bar discrepancy
- jQuery onchange/onfocus select box to display an image?
- JQuery :contains function limit to exact match