ruby on rails - currency drop down -


i have 3 tables specified fields/columns in braces:

country (name,currency_id) currency (name) user (name ,country_id,currency_id)

and requirement while creating user selecting upon country, default currency need display first , remaining currencies displayed in next selection row. ex: if select usa in country drop down in currency drop down usd need display first , remaining currencies in next

my idea user belongs country default currency country currency , has option select other currencies also.

please me out

please have @ blogpost. can populate next dropdown based on selected value first one, or change order of values.

http://marcofranssen.nl/knockout-that-cascading-dropdown/


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -