dom-select doesn't work when options are disabled
dom-select doesn't work when options are disabled

When using dom-select, and you have [code]Test[/code], using [code].val()[/code] won't work.
I fixed it by changing the return line from [code]return $('td:eq('+iColumn+') select', tr).val();[/code] to [code]return $('td:eq('+iColumn+') select option:selected', tr).val();[/code]
There is a jQuery bug marked as wontfix, so they won't correct it.
I fixed it by changing the return line from [code]return $('td:eq('+iColumn+') select', tr).val();[/code] to [code]return $('td:eq('+iColumn+') select option:selected', tr).val();[/code]
There is a jQuery bug marked as wontfix, so they won't correct it.
This discussion has been closed.