دنبال کننده ها

۱۳۹۶ مهر ۹, یکشنبه

Making a select dropdown open and display dropdown options using Jquery

[ad_1]

I'm trying to open a dropdown list (the same behavior you get by clicking on it). Tried .click() and it doesn't work.



Here's the code



$('.list-title').droppable(
drop: function(event, ui)
console.log('dropped!');
console.log(event);
console.log(ui);
$('.select-list1').click();


);


Here's the project I'm working on https://codepen.io/TylerL-uxai/pen/ZJqwXR



[ad_2]

لینک منبع