10.7k views
2 votes
Create a jQuery ready listener that updates the options within the element with ID toCurrency such that: The first element is: Select currency Only the currencies listed in the rates property of the exchangeRates object should appear in the dropdown The element for each currency should show the full currency name followed by the currency's abbreviation in parentheses Ex: Canadian Dollar (CAN)

User Alxndr
by
6.0k points

1 Answer

0 votes

Answer:

Enter USD and select desired currency.

US Dollars (USD): 100.00

Select Currency: Canadian Dollar (CAN)

Canadian Dollar (CAN): 130.00

Step-by-step explanation:

See full code attached.

Create a jQuery ready listener that updates the options within the element with ID-example-1
Create a jQuery ready listener that updates the options within the element with ID-example-2
Create a jQuery ready listener that updates the options within the element with ID-example-3
Create a jQuery ready listener that updates the options within the element with ID-example-4
Create a jQuery ready listener that updates the options within the element with ID-example-5
User Rezwan
by
7.1k points