Can any javascript gurus tell me why this does not work? I want the <br> tag
to display on the page so I get a carriage return between the two pieces of
text "Foo" and "Moo". I get this error in Firbug:
document.tabbedTicket.FTDTYPEe has no properties
<script>
function makeNewEntry() {
document.tabbedTicket.FTDTYPEe.style.visibility = 'visible';
document.tabbedTicket.FTDTYPEe.style.display = '';
}
</script>
<form action="preferences.cfm" method="post" id="tabbedTicket"
name="tabbedTicket">
<input value="+" type="button" style="font-size:9px; "onclick="makeNewEntry();"
title="Add New FTD
Type"><br />
Foo
<br id="FTDTYPEe" style="visibility:hidden; display: none;" />
Moo
</form>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307256
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4