select - Jquery .prop("selected", "selected") doesnt work on ipad chrome/safari -
i have problem code :
$('#activity_filter_type_activity option').eq(1).prop("selected", true);
it works on classic desktop not in safari/chrome on ipad. can me ?
try using ".attr" checked
$('#activity_filter_type_activity option').eq(1).attr('checked',true);
i found solution in other thread, same problem .prop() vs .attr()
Comments
Post a Comment