| Subject: | Re: newbie: change values via button |
|---|---|
| From: | "BKBK" <webforumsuser@xxxxxxxxxxxxxx> |
| Date: | Sat, 12 Apr 2008 18:00:16 +0000 (UTC) |
| Newsgroups: | macromedia.coldfusion.flash_integration |
Your approach has a problem: cfformitem does not have an ttribute called
[i]name[/i]. You could bind the inner text as follows:
<cfform name="test" height="500" width="220" format="flash">
<cfformitem type="script">
function changeInnerText() {
test.text=true;
}
</cfformitem>
<cfformitem type="text" bind="{test.text?'456':'123'}"></cfformitem>
<cfinput name="knop" type="button" value="druk"
onclick="changeInnerText()"/>
</cfform>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | newbie: change values via button, wilco_nl |
|---|---|
| Next by Date: | Re: newbie: change values via button, wilco_nl |
| Previous by Thread: | newbie: change values via button, wilco_nl |
| Next by Thread: | Re: newbie: change values via button, wilco_nl |
| Indexes: | [Date] [Thread] [Top] [All Lists] |