I have an onChange
event on a select
.
When I do an alert(this.value)
, it's working on Firefox, but not on Internet Explorer. Why not?
This is the code:
<select onchange="new Ajax.Updater('fiches', '/~project/index.php/folder/fiche', {asynchronous:true, evalScripts:true, parameters:'fiche=' + this.value});" class="input" id="fiche" name="fiche">
<option value="0">Choisir ma fiche</option>
<option value="1">Vous etes salariés</option>
<option value="2">Sans emploi</option>
</select>