>
><cfinput type="text" name="test" width="200" label="test:">
>
>
>
><cfinput type="image" name="image1" width="65" height="65"
>onClick="{test.text == 'myvalue'}">
>
Jason,
You have to change the onClick to the following.
<cfinput type="image" name="image1" width="65" height="65"
onClick="{document.formname.test.text = 'myvalue'}">
That will update it momentarily (you'll see it flash) and then it goes back to
being blank. I am sure someone else will be able to help with the rest, but
that is the change required to the JS call.
Rob
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294379
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4