Or $("#idofelement").toggle();

I'm having a tonne of fun with jQuery at the moment!

Adrian

-----Original Message-----
From: Josh Nathanson
Sent: 03 August 2007 17:25
To: CF-Talk
Subject: Re: JS Question Hide/Show Form Elements


> HIDE: document.getElementById('idOfElement').style.display='none'
> SHOW: document.getElementById('idOfElement').style.display='block'

Or in jQuery:

$("#idofelement").hide();
$("#idofelement").show();

-- Josh

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285412
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to