Hello,
I have a question on using span for hiding and showing
certain contents. I have a drop down and when I select one value,
the page includes a file within a span tag, something like
<span id="show"
<cfinclude template="file.cfm">
</span>
right now I am using
<cfif isdefined("form.dropdown") and form.dropdown eq
'1'>
<span id="show">
<cfinclude template="file.cfm">
</span>
</cfif>
I know this can be done using javascript like
document.getelementbyid.style = "none".
Can anyone suggest which is the best way to do or which is
the correct way to do this?
Thanks.