THANKS!
On Mar 27, 8:00 pm, Pierre Bellan wrote:
> Hi,
> you select your select :
>
> $('#myselect');
>
> then u find the option with the value -1 :
>
> $('#myselect').find('option[value=-1]')
> or
> $('#myselect option[value="-1"]');
>
> finally you removed it
> $('#myselect option[value="-1"]'
Hi,
you select your select :
$('#myselect');
then u find the option with the value -1 :
$('#myselect').find('option[value=-1]')
or
$('#myselect option[value="-1"]');
finally you removed it
$('#myselect option[value="-1"]').remove();
Pierre
2009/3/27 iceangel89
>
> How can i remove a single
2 matches
Mail list logo