I realized this issue has already been discussed that Firefox doesn't accept the option as selected. But all the existing workaround I have found only works during page loading. But my code is setting up the selected option dynamically in the page. Here is my piece of code:
$('.RemoveSelect').click(function(e) {
//..
if (slimit <= 2) {
$('#duration').attr('disabled', 'disabled');
$('#oneTurnPerPerson').attr('selected', 'true');
}
}
This works well for chrome but doesn't work for FF at all. Is there any workaround for this?