Added ability to set selected value for selects using fromQuery()

I needed the ability to set the selected value of a select which was populated using fromQuery, That is what this pull request allows.