This code should select an option in a select list:
$('#ref_nationalite-pharmacien option[value='+t[14]+']').attr("selected", "selected");
It works fine with Google Chrome and Opera.
With Firefox (all version, I'm using Firefox 34), the option is not selected.
I tried to replace attr by pop, without result.
This is a short part of my code:
function actualiser_remplir_champ(reponse)
{ var t = reponse.split("#");
Retour is (I changed private informations):
283##SMITH#Bill#1964-09-28#1987-01-01#Google Street 19#Mons##523601#1##sspf formation specifique et generale##21#
The last number 21 is the value to select in my select list, it doesn't work with Firefox but works fine with other web browser.