Reputation: 99
If you disable select, data of that select will not be added do response. How to prevent user not to dropdown select and hold data at the same time?
Upvotes: 0
Views: 99
Reputation: 99
You can simply achieve that using simple onclick event....in bootstrap dropdown you have your tag select and also you have some html added by bootstrap, find BUTTON tag which open your dropdown and get it DATA as selector
$('button[data-id="xxxxxx"]').on('click',event => { return false; })
Upvotes: 1