(not tested) :)
<div id="displayValue"></div>
<select name="FrameWidth1" style="font-family:arial, helvetica;
font-size:11px; onchange="changeDisplay(this.options[this.selectedIndex
].value);">
<cfloop index="i" from="0" to="40">
<option value="#i#">#i#</option>
</cfloop>
<script type="text/javascript">
function changeDisplay(fVal) {
document.getElementById('displayValue').innerHTML = fVal - 1;
}
</script>
On 4/13/05, Che Vilnonis <[EMAIL PROTECTED]> wrote:
>
> Any JS wizards out there? I have a simple FORM...
>
> <select name="FrameWidth1" style="font-family: Arial, Helvetica;
> font-size:
> 11px;">
> <cfloop index="i" from="0" to="40" step="1">
> <option value=i>#i#</option>
> </cfloop>
> </select>
>
> What I would like to do is to display the pulldown's value (minus 1)
> further
> down on the page as 'text' that is not a part of a FORM's input box. As
> the
> pulldown's value is changed, the text is changed. Any idea on how to do
> this?
>
> Che Vilnonis
> Application Developer
> Advertising Systems Incorporated
> 8470C Remington Avenue
> Pennsauken, NJ 08110
> p: 856.488.2211
> f: 856.488.1990
> www.asitv.com <http://www.asitv.com>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202669
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54