Reputation: 11855
I'm trying to use autocomplete inside of jquery mobile and it is working good however when I start typeing and I decide to select an element that is over another 'IE the button in the jsfiddle' it will trigger the button as well. How do I prevent this? Is this a JQM bug? I had tried inserting the results into a div however it still triggered the button.
http://jsfiddle.net/jostster/XuZBt/
Upvotes: 0
Views: 475
Reputation: 2313
Nope, not a bug, just a z-index issue. The autocomplete list is lower on the DOM than the button, so it is on top of it. Not sure why it doesn't show it visibly though. Here's the fiddle with the fix: http://jsfiddle.net/XuZBt/1/
Upvotes: 1