[Seasar-user:17812] Re: [Kumu.FormHelperでItemsの値をセットする]

[E-MAIL ADDRESS DELETED] [E-MAIL ADDRESS DELETED]
2009年 6月 21日 (日) 05:40:17 JST


Hi, thomas.
this is yone.

FormHelper is used to acquire the value easily.
Therefore, DOM cannot be renew.


thomas さんは書きました:
> Hai,
> 
> <script>
> function a(){
> var form = Kumu.FormHelper.create('Form', 't');
> var items = form['fooItems']
> var item = items[0];
> 
> *item['ccc']="CCC";*
> items[0]=item;
> 
> alert(items[0]['ccc']);
> 
> }
> </script>
> </head>
> <body>
> <form id="Form">
> 
> <input type="hidden" id="fooItemsSave" />
> 
> <table border="1">
>        <div id="fooItems">
>        <tr>
>          <td><span id="fooNo">100</span></td>
> 
>                <td><input type="text" id="aaa" title="AAA" /></td>
>                <td><input type="text" id="bbb" title="BBB" /></td>
>                <td><input type="text" id="ccc"></input></td>
> 
>        </tr>
>        </div>
> </table>
> 
> 
> This is my teeda Html coding.I am trying to set the value for 'ccc' in the
> item using kumu.Formhelper API.
> After setting the value if i put alert(items[0]['ccc']); i got the
> value.Where as in the screen there is no change for the value for 'ccc'
> 
> How can i achieve this.....?
> 
> Thanks in advance,
> トマス
> 
> Here i set the
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Seasar-user mailing list
> [E-MAIL ADDRESS DELETED]
> https://ml.seasar.org/mailman/listinfo/seasar-user


-- 
米 林   正 明
http://www.abby.co.jp


Seasar-user メーリングリストの案内