Hi to everybody, it's my first post here so it's nice to introduce
myself: "my name is David, i currently live in Italy, nice to meet you
all and many thank for this wonderful jquery!". I'm starting to get a
grasp of jquery (i used prototype before and i find jquery a lot more
easy to work with) but I'm puzzled on how this doesn't work in ie7!:


<script>
$(document).ready(function(){

$('option#nascondidata').click(function() {
$('#datasingola').show('slow');
return false;
});

});

function showHide() {
$('#datasingola').hide('slow');
}
</script>



And this is the html to hide:



<div id="datasingola"><p>
<label for="data_f">Data Fine (lascia vuoto per campagne senza
scadenza)</label>
<em></em><input id="data_f" name="data_f" size="25" class="date" />
</p></div>

This is the one that calls it:

<select name="gruppi"><option id="nascondidata" value="0">Nessuno..</
option><option onClick="showHide()" value="'1'">Ciao</option>...</
select>

This does work beautifully in firefox, why doesn't in ie 7? THanks!

Reply via email to