Hi there, You could do it this way:
if(value=="UK"){ $('#vat').fadeIn(); } --Karl ____________ Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 15, 2008, at 5:19 PM, Snowman wrote:
Hello, I am trying to add an effect to my existing JS. Not an expert with JS by any means, I can manage to work my way around is most instances. I have jquery library called in my code because of a password strength meter so I might as well try and utilize it's functions. My code: if(value=="UK"){ document.getElementById('vat').style.display='block';} This is changing a div id=vat with style=display:none to display:block; as you can see. I'd like that to fade in. Checked out Cody's examples but can't figure out how to impliment. Can anyone help? Thanks