jQuery retrieves the first part of the value only

jQuery retrieves the first part of the value only

I have a combobox with something like this <option class='comboclass' "Myvalue A">Myvalue A</option>.

And when I use this code to retrieve the value, I get the first half of the value only. For example, I get Myvalue only not Myvalue A.


  1. $(td .comboclass option:selected).val());