@{ Layout = null; } Ajax demo

Currency Converter

Show me the value of £1.00 in: @*// Make AJAX async calls to Action Method*@ @Ajax.ActionLink("Euros", "GetValue", new { currencyCode = "eur" }, new AjaxOptions { UpdateTargetId = "myResults" }) @Ajax.ActionLink("US Dollars", "GetValue", new { currencyCode = "usd" }, new AjaxOptions { UpdateTargetId = "myResults" }) @Ajax.ActionLink("Norwegian Kroner", "GetValue", new { currencyCode = "nok" }, new AjaxOptions { UpdateTargetId = "myResults" })

Results will appear here

This page was generated at @DateTime.UtcNow.ToString("h:mm:ss tt") (UTC)

Go to JQuery demo