select > option [ value =" + value + "]").attr(" selected ",true); This works for me. I'm using this code for parsing a value in a.">