I have various select boxes for currencies on a page. These can be
dynamically added via JS too. As and when the user selects currencies,
i need another separate div called "test_currencies" to get updated
with the currency name and the total amount in that particular
currency (which requires some DB info and calculation).
Im on Rails so im thinking of putting this info in a partial and
rendering that partial into $("test_currencies").bottom whenever
there's a selection made.
If the user chooses a previously chosen currency, the info for that
currency is updated and re-rendered into "test_currencies". If
instead, a new currency is chosen, a new partial carrying the info for
THAT currency needs to be rendered into $("test_currencies").bottom.
Thus, the "test_currencies" div should carry all the chosen currencies
and the aggregate amounts in those currencies. I tried thisAm i approaching this requirement correctly? Can it be done this way using Prototype? Or should I be using RJS for this? Hope someone can guide me on this. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
