<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap 101 Template</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<div class="col-md-6 col-md-offset-3">
<p>Click Start when you are ready to take the quiz</p>
@*@using (Html.BeginForm())
<button id="start" type="button" class="btn btn-success submit">Start</button>
<input type='button' value='Start' id='start' class="btn btn-success submit">
<div id ="target" class="target">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js"></script>
<script src="http://ajax.aspnetcdn.com/ajax/mvc/4.0/jquery.validate.unobtrusive.min.js"></script>
<script type="text/javascript">
$('#start').click(function () {
url: '@Url.RouteUrl(new{ action="CallQuizsterApp", controller="QuizApp"})',
contentType: "application/json; charset=utf-8",
success: function (resp) {
var arr = resp.split(':');
$('#result').empty().append($('<div>', {
text: arr[0].replace('{','')
$('#target').click(function () {
$('#result').empty().append($('<div>', {
text: arr[1].replace('}', '')
$("#start").prop('value', 'Next Question');
$('#start').click(function () {
$('#target').empty().append('<p>Click here to view Answer:</p>');