Skip to content
Cannot retrieve contributors at this time
27 lines (26 sloc) 835 Bytes
@inherits ViewPage
ViewBag.Title = "Hello World Service";
<input class="form-control input-lg" id="Name" type="text" placeholder="Type your name">
<p id="helloResult" style="margin-top: 15px;font-size: large"></p>
$('#Name').keyup(function () {
var name = $('#Name').val();
if (name) {
$.getJSON('/hello/' + name)
.success(function (response) {
} else {
<h4 style="position: absolute; bottom: 20px; width: 100%; text-align: center">
<a href="">Learn about ASP.NET Bootstrap VS.NET templates</a>
You can’t perform that action at this time.