• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing a collection to javascript

 
Anjali Naveen
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem:

I have a drop down of items and on the click of a particular item i want the amount of the item displayed on a text box.
I have retireved a list of items (Each Item has a id, name and amount). I have also displayed the items in a drop down. My problem is populating a text field with the amount of the item that has been selected.

<td><html:select property="selectedFee" >
<html ption value="0" >Select One</html ption>
<html ptions collection="feesList" property="feeName"></html ptions>
</html:select>


<td>
<mifos:mifosalphanumtext property="selectedFee"/>
</td>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic