Thanks - I'll check it out. I found Sam Collett's selectboxes plugin and used
that, although it does far more than I needed.

r.



Charles K. Clarkson wrote:
> 
> 
> rolfsf wrote:
> 
> : this didn't work (as well as several other variations):
> : $('a.cancel').click( function(){
> :     $('select option[value=0]').attr("selected","selected");
> : });
> : 
> : can someone clue me in?
> 
>     $('a.cancel').click( function(){
>         $('select').val('--');
>     });
> 
> 
> 
> HTH,
> 
> Charles K. Clarkson
> -- 
> Mobile Homes Specialist
> Free Market Advocate
> Web Programmer
> 
> 254 968-8328
> 
> http://www.clarksonenergyhomes.com/wordpress/about/
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/changing-the-selected-option-in-a-select-tp15345354s27240p15357275.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to