Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>test</title>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
- <script type="text/javascript">
- $(function () {
- for (x = 0; x < 5; x++) {
- $.ajax({
- url: 'http://localhost:8080/Home/Slow/',
- cache: false,
- success: function (data) {
- $("#result").append(data);
- },
- error: function (a, b, c) {
- $("#result").append("error");
- }
- });
- }
- });
- </script>
- </head>
- <body>
- <div id="result">
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement