Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html itemscope itemtype="http://schema.org/QAPage">
- <head>
- <title>javascript - Ajax return what client would see - Stack Overflow</title>
- <link rel="shortcut icon" href="https://cdn.sstatic.net/Sites/stackoverflow/img/favicon.ico?v=4f32ecc8f43d">
- <link rel="apple-touch-icon image_src" href="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png?v=c78bd457575a)">
- <link rel="search" type="application/opensearchdescription+xml" title="Stack Overflow" href="/opensearch.xml">
- <meta name="twitter:card" content="summary">
- <meta name="twitter:domain" content="stackoverflow.com"/>
- <meta property="og:type" content="website" />
- <meta property="og:image" itemprop="image primaryImageOfPage" content="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon@2.png?v=73d79a89bded" />
- <meta name="twitter:title" property="og:title" itemprop="title name" content="Ajax return what client would see" />
- <meta name="twitter:description" property="og:description" itemprop="description" content="I am making a chrome extension that checks for a certain word on a site they specify. To do this, I make an Ajax request to get the html. However, this doesn't return the data that I would like, an..." />
- <meta property="og:url" content="http://stackoverflow.com/questions/41318533/ajax-return-what-client-would-see"/>
- <link rel="canonical" href="http://stackoverflow.com/questions/41318533/ajax-return-what-client-would-see" />
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
- <script src="https://cdn.sstatic.net/Js/stub.en.js?v=890cc3074d03"></script>
- <link rel="stylesheet" type="text/css" href="https://cdn.sstatic.net/Sites/stackoverflow/all.css?v=b0ea75532e6d">
- <link rel="alternate" type="application/atom+xml" title="Feed for question 'Ajax return what client would see'" href="/feeds/question/41318533">
- <meta name="twitter:app:country" content="US" />
- <meta name="twitter:app:name:iphone" content="Stack Exchange iOS" />
- <meta name="twitter:app:id:iphone" content="871299723" />
- <meta name="twitter:app:url:iphone" content="se-zaphod://stackoverflow.com/questions/41318533/ajax-return-what-client-would-see" />
- <meta name="twitter:app:name:ipad" content="Stack Exchange iOS" />
- <meta name="twitter:app:id:ipad" content="871299723" />
- <meta name="twitter:app:url:ipad" content="se-zaphod://stackoverflow.com/questions/41318533/ajax-return-what-client-would-see" />
- <meta name="twitter:app:name:googleplay" content="Stack Exchange Android">
- <meta name="twitter:app:url:googleplay" content="http://stackoverflow.com/questions/41318533/ajax-return-what-client-would-see">
- <meta name="twitter:app:id:googleplay" content="com.stackexchange.marvin">
- <script>
- StackExchange.ready(function () {
- StackExchange.using("snippets", function () {
- StackExchange.snippets.initSnippetRenderer();
- });
- StackExchange.using("postValidation", function () {
- StackExchange.postValidation.initOnBlurAndSubmit($('#post-form'), 2, 'answer');
- });
- StackExchange.question.init({votesCast:[],autoShowCommentHelp:true,showAnswerHelp:true,totalCommentCount:1,shownCommentCount:1,highlightColor:'#F4A83D',backgroundColor:'#FFF',questionId:41318533});
- styleCode();
- StackExchange.realtime.subscribeToQuestion('1', '41318533');
- StackExchange.using("gps", function () { StackExchange.gps.trackOutboundClicks('#content', '.post-text', true); });
- });
- </script>
- <script>
- StackExchange.ready(function () {
- try {
- if (!document.createElementNS('http://www.w3.org/2000/svg', "svg").createSVGTransform)
- return;
- } catch (ex) {
- return;
- }
- var d = 100;
- $.ajax({url:"//cdn-prom.sstatic.net/WinterBash/js/qa-wb.js?v=8",cache:true,dataType:"script"}).done(function tryInit() {
- if (window.WinterBash) {
- WinterBash.core.init('winterbash2016.stackexchange.com', '//cdn-prom.sstatic.net/WinterBash/', '8');
- } else {
- if (d <= 800)
- setTimeout(tryInit, d);
- d *= 2;
- }
- });
- });
- </script>
- <script>
- StackExchange.init({"locale":"en","stackAuthUrl":"https://stackauth.com","networkMetaHostname":"meta.stackexchange.com","serverTime":1482638418,"routeName":"Questions/Show","site":{"name":"Stack Overflow","description":"Q&A for professional and enthusiast programmers","isNoticesTabEnabled":true,"recaptchaPublicKey":"6LdchgIAAAAAAJwGpIzRQSOFaO0pU6s44Xt8aTwc","recaptchaAudioLang":"en","enableNewTagCreationWarning":true,"insertSpaceAfterNameTabCompletion":false,"id":1,"enableInsertDocLinkDialog":true,"enableSocialMediaInSharePopup":true},"user":{"fkey":"b4455939fc78e02d2c9afa970ecd0c02","rep":17,"isRegistered":true,"userType":3,"userId":4938051,"accountId":6363229,"gravatar":"<div class=\"gravatar-wrapper-32\"><img src=\"https://lh3.googleusercontent.com/-4GyqYbFo0sI/AAAAAAAAAAI/AAAAAAAAADI/CQMSIkLxDsc/photo.jpg?sz=32\" alt=\"\" width=\"32\" height=\"32\"></div>","profileUrl":"http://stackoverflow.com/users/4938051/ys27","canSeeDeletedPosts":false,"ab":{"question_page_hero":{"v":"delay_hero_3","g":1},"devstory_onboarding_exp":{"v":"g","g":1},"mobile_signup_link":{"v":"simplified_signup_form:rdn","g":2}}},"events":{"postType":{"question":1},"postEditionSection":{"title":1,"body":2,"tags":3}},"story":{"minCompleteBodyLength":75}}, {"site":{"allowImageUploads":true,"enableUserHovercards":true,"styleCode":true,"enableNewLinkInsertDialog":true,"enableNewHeaderDesign":true,"enableImgurHttps":true},"comments":{},"tags":{},"accounts":{"currentPasswordRequiredForChangingStackIdPassword":true},"flags":{"allowRetractingFlags":true},"analytics":{"clientTimingsAbsoluteTimeout":30000,"clientTimingsDebounceTimeout":1000},"snippets":{"snippetsEnabled":true,"renderDomain":"stacksnippets.net"},"markdown":{"asteriskIntraWordEmphasis":true}});
- StackExchange.using.setCacheBreakers({"js/prettify-full.en.js":"50b5ced7e001","js/moderator.en.js":"9f3ffcf6092c","js/full-anon.en.js":"fb4377e5719d","js/full.en.js":"f0fdccb9e5de","js/wmd.en.js":"b1bf3b6b81b1","js/third-party/jquery.autocomplete.min.js":"d3b8fa7fdf74","js/third-party/jquery.autocomplete.min.en.js":"","js/mobile.en.js":"20710353f000","js/help.en.js":"dbd4f489eff2","js/tageditor.en.js":"679047593031","js/tageditornew.en.js":"15fc677e2435","js/inline-tag-editing.en.js":"ada30ae89544","js/revisions.en.js":"47de10a8358f","js/review.en.js":"4860570a1e5b","js/tagsuggestions.en.js":"d1ff9b84abe5","js/post-validation.en.js":"317470dd4fa5","js/explore-qlist.en.js":"e71f14781288","js/events.en.js":"f4b2456abbcd","js/keyboard-shortcuts.en.js":"2d6fc9a97e37","js/external-editor.en.js":"235e80f649d7","js/external-editor.en.js":"235e80f649d7","js/snippet-javascript.en.js":"25d6d4214eed","js/snippet-javascript-codemirror.en.js":"68c50bd0c27a"});
- StackExchange.using("gps", function() {
- StackExchange.gps.init(true);
- });
- </script>
- </head>
- <body class="question-page new-topbar">
- <noscript><div id="noscript-padding"></div></noscript>
- <script>(function () { var old = $.fn.contents; $.fn.contents = function () { try { return old.apply(this, arguments); } catch (e) { return $([]); } } })()</script>
- <iframe id="adzerk-user-match" width="0" height="0" frameborder="0" scrolling="no" onload="window.AUMIframeDone=true"
- src="https://ssum-sec.casalemedia.com/usermatch?s=183712&cb=https%3A%2F%2Fengine.adzerk.net%2Fudb%2F22%2Fsync%2Fi.gif%3FpartnerId%3D1%26userId%3D"
- style="display: none;" marginheight="0" marginwidth="0"></iframe>
- <div id="notify-container"></div>
- <div id="custom-header"></div>
- <div class="topbar">
- <div class="topbar-wrapper">
- <div class="js-topbar-dialog-corral">
- <div class="topbar-dialog siteSwitcher-dialog dno">
- <div class="header">
- <h3><a href="//stackoverflow.com">current community</a>
- </h3>
- </div>
- <div class="modal-content current-site-container">
- <ul class="current-site">
- <li>
- <div class="related-links">
- <a href="http://chat.stackoverflow.com" class="js-gps-track" data-gps-track="site_switcher.click({ item_type:6 })"
- >chat</a>
- <a href="/users/logout" class="js-gps-track" data-gps-track="site_switcher.click({ item_type:8 })"
- >log out</a>
- </div>
- <a href="//stackoverflow.com"
- class="current-site-link site-link js-gps-track"
- data-id="1"
- data-gps-track="
- site_switcher.click({ item_type:3 })">
- <div class="site-icon favicon favicon-stackoverflow" title="Stack Overflow"></div>
- Stack Overflow
- </a>
- </li>
- <li class="related-site">
- <div class="L-shaped-icon-container">
- <span class="L-shaped-icon"></span>
- </div>
- <a href="http://meta.stackoverflow.com"
- class="site-link js-gps-track"
- data-id="552"
- data-gps-track="
- site.switch({ target_site:552, item_type:3 }),
- site_switcher.click({ item_type:4 })">
- <div class="site-icon favicon favicon-stackoverflowmeta" title="Meta Stack Overflow"></div>
- Meta Stack Overflow
- </a>
- </li>
- </ul>
- </div>
- <div class="header" id="your-communities-header">
- <h3>
- <a href="//stackexchange.com/users/6363229/?tab=accounts">your communities</a>
- </h3>
- <a href="#" id="edit-pinned-sites">edit</a>
- <a href="#" id="cancel-pinned-sites" style="display: none;">cancel</a>
- </div>
- <div class="modal-content" id="your-communities-section">
- <ul class="my-sites">
- <li>
- <a href="//stackoverflow.com"
- class="site-link js-gps-track"
- data-id="1"
- data-gps-track="
- site.switch({ target_site:1, item_type:3 }),
- site_switcher.click({ item_type:1 })">
- <div class="site-icon favicon favicon-stackoverflow" title="Stack Overflow"></div>
- Stack Overflow
- <span class="rep-score">17</span>
- </a>
- </li>
- <li>
- <a href="//superuser.com"
- class="site-link js-gps-track"
- data-id="3"
- data-gps-track="
- site.switch({ target_site:3, item_type:3 }),
- site_switcher.click({ item_type:1 })">
- <div class="site-icon favicon favicon-superuser" title="Super User"></div>
- Super User
- <span class="rep-score">6</span>
- </a>
- </li>
- </ul>
- <div class="pinned-site-editor-container" style="display: none;">
- <input id="js-site-search-txt"
- type="text"
- class="site-filter-input"
- value=""
- placeholder="Add a Stack Exchange community"/>
- <input type="submit" id="pin-site-btn" value="Add" disabled="disabled"/>
- <ul class="js-found-sites found-sites"></ul>
- <ul class="pinned-site-list sortable" data-custom-list="False">
- </ul>
- <input type="submit" value="Save" id="save-pinned-sites-btn" disabled="disabled"/>
- <a href="#" id="reset-pinned-sites">reset to default list</a>
- </div>
- </div>
- <div class="header">
- <h3><a href="//stackexchange.com/sites">more stack exchange communities</a>
- </h3>
- <a href="http://stackoverflow.blog" class="fr">company blog</a>
- </div>
- <div class="modal-content">
- <div class="child-content"></div>
- </div>
- </div>
- </div>
- <div class="network-items">
- <a href="//stackexchange.com"
- class="topbar-icon icon-site-switcher yes-hover js-site-switcher-button js-gps-track"
- data-gps-track="site_switcher.show"
- title="A list of all 162 Stack Exchange sites">
- <span class="hidden-text">Stack Exchange</span>
- </a>
- <a href="#"
- class="topbar-icon icon-inbox yes-hover js-inbox-button"
- title="You have unread inbox messages">
- <span class="hidden-text">Inbox</span>
- <span class="unread-count" style="">1</span>
- </a>
- <a href="#"
- class="topbar-icon icon-achievements yes-hover js-achievements-button icon-achievements-unread"
- data-unread-class="icon-achievements-unread"
- title="You have new achievements">
- <span class="hidden-text">Reputation and Badges</span>
- <span class="unread-count" style="display:none">
- </span>
- </a>
- </div>
- <div class="topbar-links">
- <a href="/users/4938051/ys27"
- class="profile-me js-gps-track"
- data-gps-track="profile_summary.click()">
- <div class="gravatar-wrapper-24" title="ys27"><img src="https://lh3.googleusercontent.com/-4GyqYbFo0sI/AAAAAAAAAAI/AAAAAAAAADI/CQMSIkLxDsc/photo.jpg?sz=48" alt="" width="24" height="24" class="avatar-me js-avatar-me"></div>
- <div class="links-container topbar-flair">
- <span class="reputation" title="your reputation: 17">
- 17
- </span>
- <span title="6 bronze badges"><span class="badge3"></span><span class="badgecount">6</span></span> </div>
- </a>
- <div class="links-container">
- <span class="topbar-menu-links">
- <a href="#" class="icon-help js-help-button" title="Help Center and other resources">
- help
- <span class="triangle"></span>
- </a>
- <div class="topbar-dialog help-dialog js-help-dialog dno">
- <div class="modal-content">
- <ul>
- <li>
- <a href="/tour" class="js-gps-track" data-gps-track="help_popup.click({ item_type:1 })">
- Tour
- <span class="item-summary">
- Start here for a quick overview of the site
- </span>
- </a>
- </li>
- <li>
- <a href="/help" class="js-gps-track" data-gps-track="help_popup.click({ item_type:4 })">
- Help Center
- <span class="item-summary">
- Detailed answers to any questions you might have
- </span>
- </a>
- </li>
- <li>
- <a href="//meta.stackoverflow.com" class="js-gps-track" data-gps-track="help_popup.click({ item_type:2 })">
- Meta
- <span class="item-summary">
- Discuss the workings and policies of this site
- </span>
- </a>
- </li>
- <li>
- <a href="http://stackoverflow.com/company/about" class="js-gps-track" data-gps-track="help_popup.click({ item_type:6 })">
- About Us
- <span class="item-summary">
- Learn more about Stack Overflow the company
- </span>
- </a>
- </li>
- <li>
- <a href="https://www.stackoverflowbusiness.com/?ref=topbar_help" class="js-gps-track" data-gps-track="help_popup.click({ item_type:7 })">
- Business
- <span class="item-summary">
- Learn more about hiring developers or posting ads with us
- </span>
- </a>
- </li>
- </ul>
- </div>
- </div>
- </span>
- </div>
- <div class="search-container">
- <form id="search" action="/search" method="get" autocomplete="off">
- <input name="q" type="text" placeholder="Search Q&A" value="" tabindex="1" autocomplete="off" maxlength="240" />
- </form>
- </div>
- </div>
- </div>
- </div>
- <script>
- StackExchange.ready(function() { StackExchange.topbar.init(); });
- </script>
- <div class="container">
- <div id="header">
- <br class="cbt">
- <div id="hlogo">
- <a href="/" >
- Stack Overflow
- </a>
- </div>
- <div id="hmenus">
- <div class="nav mainnavs">
- <ul>
- <li class="youarehere">
- <a id="nav-questions"
- href="/questions"
- class="js-gps-track"
- data-gps-track="top_nav.click({is_current:true, location:3, destination:1})">
- Questions
- </a>
- </li>
- <li>
- <a id="nav-jobs"
- href="/jobs?med=site-ui&ref=jobs-tab"
- class="js-gps-track"
- data-gps-track="top_nav.click({is_current:false, location:3, destination:6})">
- Jobs
- </a>
- </li>
- <li>
- <a id="nav-docs"
- href="/documentation"
- class="js-gps-track"
- data-gps-track="top_nav.click({is_current:false, location:3, destination:7})">
- Documentation
- </a>
- </li>
- <li>
- <a id="nav-tags"
- href="/tags"
- class="js-gps-track"
- data-gps-track="top_nav.click({is_current:false, location:3, destination:2})">
- Tags
- </a>
- </li>
- <li>
- <a id="nav-users"
- href="/users"
- class="js-gps-track"
- data-gps-track="top_nav.click({is_current:false, location:3, destination:3})">
- Users
- </a>
- </li>
- <li>
- <a id="nav-badges"
- href="/help/badges"
- class="js-gps-track"
- data-gps-track="top_nav.click({is_current:false, location:3, destination:4})">
- Badges
- </a>
- </li>
- </ul>
- </div>
- <div class="nav askquestion">
- <ul>
- <li>
- <a id="nav-askquestion" href="/questions/ask">Ask Question</a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- <div id="content" class="snippet-hidden">
- <div itemscope itemtype="http://schema.org/Question">
- <link itemprop="image" href="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png?v=c78bd457575a">
- <div id="question-header">
- <h1 itemprop="name"><a href="/questions/41318533/ajax-return-what-client-would-see" class="question-hyperlink">Ajax return what client would see</a></h1>
- </div>
- <div id="mainbar">
- <div class="question" data-questionid="41318533" id="question">
- <input type="hidden" id="41318533-only-allow-inform-moderator-flagging" value="true" />
- <script>
- var ados = ados || {}; ados.run = ados.run || [];
- ados.run.push(function () { ados_add_placement(22,8277,"adzerk1522146230",4).setZone(43); });
- </script>
- <div class="everyonelovesstackoverflow" id="adzerk1522146230"></div> <table>
- <tr>
- <td class="votecell">
- <div class="vote">
- <input type="hidden" name="_id_" value="41318533">
- <a class="vote-up-off" title="This question shows research effort; it is useful and clear (click again to undo)">up vote</a>
- <span itemprop="upvoteCount" class="vote-count-post ">0</span>
- <a class="vote-down-off" title="This question does not show any research effort; it is unclear or not useful (click again to undo)">down vote</a>
- <a class="star-off" href="#">favorite</a>
- <div class="favoritecount"><b></b></div>
- </div>
- </td>
- <td class="postcell">
- <div>
- <div class="post-text" itemprop="text">
- <p>I am making a chrome extension that checks for a certain word on a site they specify. To do this, I make an Ajax request to get the html. However, this doesn't return the data that I would like, and I am speculating here: it only receives the data before all JS is rendered, or minus things specific to the client. Here is how I'm making the request. Should I change any of the parameters, or is there a better way of receiving that data?</p>
- <pre><code>$.ajax({
- url: url,
- dataType: "html",
- context: document.body,
- success: function(data) {
- console.log("Success");
- },
- error: function (e) {
- console.log("Error: Not a valid URL.");
- }
- });
- </code></pre>
- </div>
- <div class="post-taglist">
- <a href="/questions/tagged/javascript" class="post-tag" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="/questions/tagged/ajax" class="post-tag" title="show questions tagged 'ajax'" rel="tag">ajax</a> <a href="/questions/tagged/google-chrome-extension" class="post-tag" title="show questions tagged 'google-chrome-extension'" rel="tag"><img src="//i.stack.imgur.com/EdUwb.png" height="16" width="18" alt="" class="sponsor-tag-img">google-chrome-extension</a>
- </div>
- <table class="fw">
- <tr>
- <td class="vt">
- <div class="post-menu"><a href="/q/41318533/4938051" title="short permalink to this question" class="short-link" id="link-post-41318533">share</a><span class="lsep">|</span><a href="/posts/41318533/edit" class="edit-post" title="revise and improve this post">edit</a><span class="lsep">|</span><a href="#"
- id="delete-post-41318533"
- title="vote to delete this post"
- class=""
- data-delete-prompt="Delete this post?"
- data-undelete-prompt="Undelete this post?">delete</a><span class="lsep">|</span><a href="#"
- class="flag-post-link"
- title="flag this post for serious problems or moderator attention"
- data-postid="41318533">flag</a></div>
- </td>
- <td class="post-signature owner">
- <div class="user-info ">
- <div class="user-action-time">
- asked <span title="2016-12-25 03:47:50Z" class="relativetime">12 mins ago</span>
- </div>
- <div class="user-gravatar32">
- <a href="/users/4938051/ys27"><div class="gravatar-wrapper-32"><img src="https://lh3.googleusercontent.com/-4GyqYbFo0sI/AAAAAAAAAAI/AAAAAAAAADI/CQMSIkLxDsc/photo.jpg?sz=32" alt="" width="32" height="32"></div></a>
- </div>
- <div class="user-details">
- <a href="/users/4938051/ys27">ys27</a>
- <div class="-flair">
- <span class="reputation-score" title="reputation score " dir="ltr">17</span><span title="6 bronze badges"><span class="badge3"></span><span class="badgecount">6</span></span>
- </div>
- </div>
- </div>
- </td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- <tr>
- <td class="votecell"></td>
- <td>
- <div id="comments-41318533" class="comments ">
- <table>
- <tbody data-remaining-comments-count="0"
- data-canpost="true"
- data-cansee="false"
- data-comments-unavailable="false"
- data-addlink-disabled="false">
- <tr id="comment-69840797" class="comment ">
- <td class="comment-actions">
- <table>
- <tbody>
- <tr>
- <td class=" comment-score">
-
- </td>
- <td>
- <a class="comment-up comment-up-off" title="this comment adds something useful to the post">upvote</a>
- </td>
- </tr>
- <tr>
- <td> </td>
- <td>
- <a class="comment-flag" title="Flag this comment for serious problems or moderator attention">flag</a>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- <td class="comment-text">
- <div style="display: block;" class="comment-body">
- <span class="comment-copy">What are you getting back in <code>data</code>?</span>
- – <a href="/users/1475228/pritam-banerjee"
- title="4,170 reputation"
- class="comment-user">Pritam Banerjee</a>
- <span class="comment-date" dir="ltr"><span title="2016-12-25 03:50:47Z" class="relativetime-clean">9 mins ago</span></span>
- </div>
- </td>
- </tr>
- </tbody>
- <tfoot>
- <tr>
- <td></td>
- <td class="comment-form">
- <form id="add-comment-41318533"
- class=""
- data-placeholdertext="Use comments to reply to other users or notify them of changes. If you are adding new information, edit your post instead of commenting."></form>
- </td>
- </tr>
- </tfoot>
- </table>
- </div>
- <div id="comments-link-41318533" >
- <a class="js-add-link comments-link "
- title="Use comments to reply to other users or notify them of changes. If you are adding new information, edit your post instead of commenting."
- href=#>add a comment</a><span class="js-link-separator dno"> | </span>
- <a class="js-show-link comments-link dno" title="expand to show all comments on this post" href=# onclick=""></a>
- </div>
- </td>
- </tr> </table>
- </div>
- <div id="answers" class="no-answers">
- <a name="tab-top"></a>
- <div id="answers-header">
- <div class="subheader answers-subheader">
- <h2>
- </h2>
- <div style="display:none;">
- <div id="tabs">
- <a href="/questions/41318533/ajax-return-what-client-would-see?answertab=active#tab-top" data-nav-xhref="" title="Answers with the latest activity first" data-value="active" data-shortcut="A">
- active</a>
- <a class="youarehere" href="/questions/41318533/ajax-return-what-client-would-see?answertab=oldest#tab-top" data-nav-xhref="" title="Answers in the order they were provided" data-value="oldest" data-shortcut="O">
- oldest</a>
- <a href="/questions/41318533/ajax-return-what-client-would-see?answertab=votes#tab-top" data-nav-xhref="" title="Answers with the highest score first" data-value="votes" data-shortcut="V">
- votes</a>
- </div>
- </div>
- </div>
- </div>
- <h2 class="bottom-notice bottom-share-links" style="padding-top: 8px; margin-bottom: -8px;">
- Know someone who can answer? Share a link to this <a href="/q/41318533/4938051">question</a> via <a href="mailto:?subject=Stack%20Overflow%20Question&body=Ajax%20return%20what%20client%20would%20see%0Ahttp%3a%2f%2fstackoverflow.com%2fq%2f41318533%2f4938051%3fsem%3d2">email</a>, <a href="https://plus.google.com/share?url=http%3a%2f%2fstackoverflow.com%2fq%2f41318533%2f4938051%3fsgp%3d2">Google+</a>, <a href="http://twitter.com/share?url=http%3a%2f%2fstackoverflow.com%2fq%2f41318533%2f4938051%3fstw%3d2">Twitter</a>, or <a href="http://www.facebook.com/sharer.php?u=http%3a%2f%2fstackoverflow.com%2fq%2f41318533%2f4938051%3fsfb%3d2">Facebook</a>. </h2>
- <a name='new-answer'></a>
- <form id="post-form" action="/questions/41318533/answer/submit" method="post" class="dno post-form">
- <input type="hidden" id="post-id" value="41318533" />
- <input type="hidden" id="qualityBanWarningShown" name="qualityBanWarningShown" value="false" />
- <input type="hidden" name="referrer" value=""/>
- <h2 class="space">Your Answer</h2>
- <script>
- StackExchange.ifUsing("editor", function () {
- StackExchange.using("externalEditor", function () {
- StackExchange.using("snippets", function () {
- StackExchange.snippets.init();
- });
- });
- }, "code-snippets");
- </script>
- <script>
- StackExchange.ready(function() {
- initTagRenderer("".split(" "), "".split(" "));
- StackExchange.using("externalEditor", function() {
- // Have to fire editor after snippets, if snippets enabled
- if (StackExchange.settings.snippets.snippetsEnabled) {
- StackExchange.using("snippets", function() {
- createEditor();
- });
- }
- else {
- createEditor();
- }
- });
- function createEditor() {
- prepareEditor({
- heartbeatType: 'answer',
- convertImagesToLinks: false,
- reputationToPostImages: null,
- bindNavPrevention: true,
- postfix: "",
- onDemand: false,
- discardSelector: ".discard-answer"
- ,immediatelyShowMarkdownHelp:true
- });
- }
- });
- </script>
- <div id="post-editor" class="post-editor js-post-editor">
- <div style="position: relative;">
- <div class="wmd-container">
- <div id="wmd-button-bar" class="wmd-button-bar"></div>
- <textarea id="wmd-input" class="wmd-input" name="post-text" cols="92" rows="15" tabindex="101" data-min-length=""></textarea>
- </div>
- </div>
- <div class="fl" style="margin-top: 8px; height:24px;"> </div>
- <div id="draft-saved" class="draft-saved community-option fl" style="margin-top: 8px; height:24px; display:none;">draft saved</div>
- <div id="draft-discarded" class="draft-discarded community-option fl" style="margin-top: 8px; height:24px; display:none;">draft discarded</div>
- <div class="community-option">
- <input id="communitymode" name="communitymode" type="checkbox" >
- <label for="communitymode" title="Marking an answer community wiki encourages others to edit it by lowering the reputation barrier required to edit. However, you will not gain any upvote reputation from it. This cannot be undone.">community wiki</label>
- </div>
- <div id="wmd-preview" class="wmd-preview"></div>
- <div></div>
- <div class="edit-block">
- <input id="fkey" name="fkey" type="hidden" value="b4455939fc78e02d2c9afa970ecd0c02">
- <input id="author" name="author" type="text">
- </div>
- </div>
- <div style="position: relative;">
- </div>
- <div class="form-submit cbt">
- <input id="submit-button" type="submit" value="Post Your Answer" tabindex="110">
- <a href="#" class="btn-clear discard-answer dno">discard</a>
- </div>
- </form>
- <div id="show-editor-button" class="form-submit">
- <input type="button"
- value="Answer Your Question"
- data-confirm-text="Are you sure you want to answer your own question?
- If you're responding to answers left on your question, enter comments under each answer.
- If you need to add details to your question, use the edit link under your question."
- data-confirm-use-fancy="True"
- data-confirm-fancy-title="Are you sure you want to answer your question?"
- data-confirm-fancy-body="<b>Comment</b> if you're trying to respond to an answer. <br/><br/> <b>Edit your question</b> if you need to add more details. <br/><br/>"
- data-confirm-fancy-accept-button="Yes, I want to post an answer"/>
- </div>
- <script>
- StackExchange.ready(function () {
- $("#show-editor-button input").click(function () {
- var showEditor = function() {
- $("#show-editor-button").hide();
- $("#post-form").removeClass("dno");
- StackExchange.editor.finallyInit();
- };
- var useFancy = $(this).data('confirm-use-fancy');
- if(useFancy == 'True') {
- var popupTitle = $(this).data('confirm-fancy-title');
- var popupBody = $(this).data('confirm-fancy-body');
- var popupAccept = $(this).data('confirm-fancy-accept-button');
- $(this).loadPopup({
- url: '/post/self-answer-popup',
- loaded: function(popup) {
- var pTitle = $(popup).find('h2');
- var pBody = $(popup).find('.popup-body');
- var pSubmit = $(popup).find('.popup-submit');
- pTitle.text(popupTitle);
- pBody.html(popupBody);
- pSubmit.val(popupAccept).click(showEditor);
- }
- })
- } else{
- var confirmText = $(this).data('confirm-text');
- if (confirmText ? confirm(confirmText) : true) {
- showEditor();
- }
- }
- });
- });
- </script>
- </div>
- </div>
- <div id="sidebar" class="show-votes">
- <div class="module question-stats">
- <table id="qinfo">
- <tr>
- <td>
- <p class="label-key">asked</p>
- </td>
- <td style="padding-left: 10px">
- <p class="label-key" title="2016-12-25 03:47:50Z"><b>today</b></p>
- </td>
- </tr>
- <tr>
- <td>
- <p class="label-key">viewed</p>
- </td>
- <td style="padding-left: 10px">
- <p class="label-key">
- <b>10 times</b>
- </p>
- </td>
- </tr>
- </table>
- </div>
- <div class="module community-bulletin" data-tracker="cb=1">
- <div class="related">
- <div class="bulletin-title">
- Featured on Meta
- </div>
- <hr />
- <div class="spacer">
- <div class="bulletin-item-type">
- <a href="http://meta.stackoverflow.com/questions/339974/the-dawn-of-documentation-a-solstice-update" class="question-hyperlink">
- <div class="favicon favicon-stackoverflowmeta" title="Meta Stack Overflow"></div> </a>
- </div>
- <div class="bulletin-item-content">
- <a href="http://meta.stackoverflow.com/questions/339974/the-dawn-of-documentation-a-solstice-update" class="question-hyperlink">The dawn of Documentation: a solstice update</a>
- </div>
- <br class="cbt" />
- </div>
- <div class="bulletin-title">
- Hot Meta Posts
- </div>
- <hr />
- <div class="spacer">
- <div class="bulletin-item-type">
- <span title="Vote score (upvotes - downvotes)">23</span>
- </div>
- <div class="bulletin-item-content">
- <a href="http://meta.stackoverflow.com/questions/340142/wheres-my-24-carat-hat" class="question-hyperlink">Where's my 24 (carat) hat?</a>
- </div>
- <br class="cbt" />
- </div>
- <div class="spacer">
- <div class="bulletin-item-type">
- <span title="Vote score (upvotes - downvotes)">4</span>
- </div>
- <div class="bulletin-item-content">
- <a href="http://meta.stackoverflow.com/questions/340230/can-advertisers-on-stack-overflow-stack-exchange-target-a-specific-single-user" title="Can advertisers on Stack Overflow / Stack Exchange target a specific single user?" class="question-hyperlink">Can advertisers on Stack Overflow / Stack Exchange target a specific single…</a>
- </div>
- <br class="cbt" />
- </div>
- <div class="spacer">
- <div class="bulletin-item-type">
- <span title="Vote score (upvotes - downvotes)">10</span>
- </div>
- <div class="bulletin-item-content">
- <a href="http://meta.stackoverflow.com/questions/340234/wrong-top-margin-in-flaggingclosingoff-topic-modal" class="question-hyperlink">Wrong top margin in “Flagging>Closing>Off-topic” modal</a>
- </div>
- <br class="cbt" />
- </div>
- </div>
- </div>
- <script>
- var ados = ados || {}; ados.run = ados.run || [];
- ados.run.push(function () { ados_add_placement(22,8277,"adzerk2022378168",[5,17,2221]).setZone(45); });
- </script>
- <div class="everyonelovesstackoverflow" id="adzerk2022378168"></div>
- <div id="hireme"></div>
- <script>
- window.clcfl_request = 'AkHvJYp6LNQIXRhhAIV4dgICAAAAAgAAAANYAAAAfGphdmFzY3JpcHR8YWpheHxnb29nbGUtY2hyb21lLWV4dGVuc2lvbnx4LXVzZXItcmVnaXN0ZXJlZHx4LWNyb3NzLXNpdGUtc2VydmVyZmF1bHQuY29tfAA1Ay_jNQsRCeSa';
- ;(function(n){var t,r,i;try{if(typeof[].indexOf!="function")return;if(window.attachEvent&&!window.addEventListener)return;if(n.allowed[0]!=="*"&&n.allowed.indexOf(location.hostname)===-1)return;t=window;t.clc=t.clc||{};r=t.clc_request||t.clcfl_request;r||void 0;t.clc.init=t.clc.init||[];t.clc.init.push(function(n){return n.load()});t.clc.options=n;i=document.createElement("script");i.async=!0;i.src=n.lib;document.body.appendChild(i)}catch(u){void 0}}).call(null, {"azw":true,"kt":2000,"autoload":true,"tto":true,"d":{"sb":["hireme","clc-sb"],"tlb":["careers1","clc-tlb"],"mlb":["careers3","clc-mlb"]},"allowed":["stackoverflow.com","serverfault.com","blog.codinghorror.com","talent.stackoverflow.com"],"h":"clc.stackoverflow.com","u":"//clc.stackoverflow.com/markup.js","lib":"//cdn.sstatic.net/clc/clc.min.js?v=c1d06cbc75b3"}); </script>
- <div class="module sidebar-related">
- <h4 id="h-related">Related</h4>
- <div class="related js-gps-related-questions" data-tracker="rq=1">
- <div class="spacer"><a href="/q/446594" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted extra-large">1354</div></a><a href="/questions/446594/abort-ajax-requests-using-jquery" class="question-hyperlink">Abort Ajax requests using jQuery</a></div><div class="spacer"><a href="/q/1335851" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted extra-large">5184</div></a><a href="/questions/1335851/what-does-use-strict-do-in-javascript-and-what-is-the-reasoning-behind-it" class="question-hyperlink">What does “use strict” do in JavaScript, and what is the reasoning behind it?</a></div><div class="spacer"><a href="/q/9820384" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">2</div></a><a href="/questions/9820384/retrieve-only-a-part-of-remote-url-in-ajax" class="question-hyperlink">Retrieve only a part of remote URL in AJAX</a></div><div class="spacer"><a href="/q/11786976" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">6</div></a><a href="/questions/11786976/chrome-extension-that-runs-code-when-ajax-requests-happen" class="question-hyperlink">Chrome extension that runs code when ajax requests happen</a></div><div class="spacer"><a href="/q/14220321" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted extra-large">2573</div></a><a href="/questions/14220321/how-do-i-return-the-response-from-an-asynchronous-call" class="question-hyperlink">How do I return the response from an asynchronous call?</a></div><div class="spacer"><a href="/q/20146718" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a><a href="/questions/20146718/jquery-being-imported-but-ajax-not-working" class="question-hyperlink">Jquery being imported but AJAX not working?</a></div><div class="spacer"><a href="/q/27049064" title="Vote score (upvotes - downvotes)"><div class="answer-votes default">-1</div></a><a href="/questions/27049064/how-to-log-in-remotely-with-ajax" class="question-hyperlink">How to log in remotely with AJAX?</a></div><div class="spacer"><a href="/q/33858827" title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a><a href="/questions/33858827/ajax-post-json-data-and-receiving-back-javascript" class="question-hyperlink">AJAX POST JSON data and receiving back javascript?</a></div><div class="spacer"><a href="/q/35729021" title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a><a href="/questions/35729021/cross-domain-ajax-call-in-chrome-extension" class="question-hyperlink">cross domain ajax call in chrome extension</a></div><div class="spacer"><a href="/q/39707043" title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a><a href="/questions/39707043/perform-multiple-ajax-requests-in-background-in-chrome-extension" class="question-hyperlink">Perform multiple ajax requests in background in Chrome extension</a></div>
- </div>
- </div>
- <div id="hot-network-questions" class="module">
- <h4>
- <a href="//stackexchange.com/questions?tab=hot"
- class="js-gps-track"
- data-gps-track="posts_hot_network.click({ item_type:1, location:11 })">
- Hot Network Questions
- </a>
- </h4>
- <ul>
- <li >
- <div class="favicon favicon-dba" title="Database Administrators Stack Exchange"></div><a href="http://dba.stackexchange.com/questions/159081/how-to-change-the-schema-of-stored-procedure-without-recreating-it" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:182 }); posts_hot_network.click({ item_type:2, location:11 })">
- How to change the schema of stored procedure without recreating it
- </a>
- </li>
- <li >
- <div class="favicon favicon-physics" title="Physics Stack Exchange"></div><a href="http://physics.stackexchange.com/questions/300146/why-wouldnt-the-part-of-the-earth-facing-the-sun-a-half-year-before-be-facing-a" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:151 }); posts_hot_network.click({ item_type:2, location:11 })">
- Why wouldn't the part of the Earth facing the Sun a half year before be facing away from it now at noon?
- </a>
- </li>
- <li >
- <div class="favicon favicon-parenting" title="Parenting Stack Exchange"></div><a href="http://parenting.stackexchange.com/questions/28255/parents-disagree-on-type-of-music-for-toddlers-listening" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:228 }); posts_hot_network.click({ item_type:2, location:11 })">
- Parents disagree on type of music for toddler's listening
- </a>
- </li>
- <li >
- <div class="favicon favicon-chemistry" title="Chemistry Stack Exchange"></div><a href="http://chemistry.stackexchange.com/questions/65064/chirality-of-biphenyls" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:431 }); posts_hot_network.click({ item_type:2, location:11 })">
- Chirality of Biphenyls
- </a>
- </li>
- <li >
- <div class="favicon favicon-english" title="English Language & Usage Stack Exchange"></div><a href="http://english.stackexchange.com/questions/365030/word-that-mean-to-fill-the-air-with-a-bad-smell" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:97 }); posts_hot_network.click({ item_type:2, location:11 })">
- Word that mean "to fill the air with a bad smell"?
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-worldbuilding" title="Worldbuilding Stack Exchange"></div><a href="http://worldbuilding.stackexchange.com/questions/65864/mining-suns-for-terraforming" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:579 }); posts_hot_network.click({ item_type:2, location:11 })">
- Mining Suns For Terraforming?
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-movies" title="Movies & TV Stack Exchange"></div><a href="http://movies.stackexchange.com/questions/65462/mcclane-is-a-nypd-cop-wife-works-in-la-why-was-the-plane-going-to-dulles" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:367 }); posts_hot_network.click({ item_type:2, location:11 })">
- McClane is a NYPD cop. Wife Works in LA. Why was the plane going to Dulles?
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-unix" title="Unix & Linux Stack Exchange"></div><a href="http://unix.stackexchange.com/questions/332457/how-to-send-the-esc-signal-to-vim-when-my-esc-key-doesnt-work" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:106 }); posts_hot_network.click({ item_type:2, location:11 })">
- How to send the ESC signal to vim when my esc key doesn't work?
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-math" title="Mathematics Stack Exchange"></div><a href="http://math.stackexchange.com/questions/2071094/unique-representation-of-a-vector" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:69 }); posts_hot_network.click({ item_type:2, location:11 })">
- Unique representation of a vector
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-math" title="Mathematics Stack Exchange"></div><a href="http://math.stackexchange.com/questions/2070143/is-it-bad-form-to-write-mysterious-proofs-without-explaining-what-one-intends-to" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:69 }); posts_hot_network.click({ item_type:2, location:11 })">
- Is it bad form to write mysterious proofs without explaining what one intends to do?
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-math" title="Mathematics Stack Exchange"></div><a href="http://math.stackexchange.com/questions/2070978/using-overpowered-theorems-to-solve-easy-problems" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:69 }); posts_hot_network.click({ item_type:2, location:11 })">
- Using Overpowered Theorems to Solve Easy Problems
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-electronics" title="Electrical Engineering Stack Exchange"></div><a href="http://electronics.stackexchange.com/questions/276655/why-is-there-a-short-between-my-vcc-and-gnd-in-this-circuit" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:135 }); posts_hot_network.click({ item_type:2, location:11 })">
- Why is there a short between my VCC and GND in this circuit?
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-scifi" title="Science Fiction & Fantasy Stack Exchange"></div><a href="http://scifi.stackexchange.com/questions/148297/who-is-this-six-armed-blonde-female-character" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:186 }); posts_hot_network.click({ item_type:2, location:11 })">
- Who is this six-armed blonde female character?
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-puzzling" title="Puzzling Stack Exchange"></div><a href="http://puzzling.stackexchange.com/questions/47115/consecutive-numbers-sum-of-a-number" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:559 }); posts_hot_network.click({ item_type:2, location:11 })">
- Consecutive Numbers Sum of a number
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-math" title="Mathematics Stack Exchange"></div><a href="http://math.stackexchange.com/questions/2071080/a-finite-sets-problem" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:69 }); posts_hot_network.click({ item_type:2, location:11 })">
- a finite sets problem
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-codereview" title="Code Review Stack Exchange"></div><a href="http://codereview.stackexchange.com/questions/150724/simple-pack-uri-builder" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:196 }); posts_hot_network.click({ item_type:2, location:11 })">
- Simple pack Uri builder
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-codegolf" title="Programming Puzzles & Code Golf Stack Exchange"></div><a href="http://codegolf.stackexchange.com/questions/104442/random-pixel-poking" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:200 }); posts_hot_network.click({ item_type:2, location:11 })">
- Random Pixel Poking
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-codegolf" title="Programming Puzzles & Code Golf Stack Exchange"></div><a href="http://codegolf.stackexchange.com/questions/104121/sever-sort-an-array" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:200 }); posts_hot_network.click({ item_type:2, location:11 })">
- Sever-sort an array
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-chemistry" title="Chemistry Stack Exchange"></div><a href="http://chemistry.stackexchange.com/questions/65044/how-do-organic-chemistry-mechanisms-become-accepted" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:431 }); posts_hot_network.click({ item_type:2, location:11 })">
- How do organic chemistry mechanisms become accepted?
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-math" title="Mathematics Stack Exchange"></div><a href="http://math.stackexchange.com/questions/2069507/is-every-parallelogram-a-rectangle" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:69 }); posts_hot_network.click({ item_type:2, location:11 })">
- Is every parallelogram a rectangle ??
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-superuser" title="Super User"></div><a href="http://superuser.com/questions/1159758/has-my-macos-sierra-system-been-infected-by-unknown-users" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:3 }); posts_hot_network.click({ item_type:2, location:11 })">
- Has my macOS Sierra system been infected by unknown users?
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-puzzling" title="Puzzling Stack Exchange"></div><a href="http://puzzling.stackexchange.com/questions/47105/6-water-glasses-upside-down" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:559 }); posts_hot_network.click({ item_type:2, location:11 })">
- 6 Water Glasses Upside Down
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-superuser" title="Super User"></div><a href="http://superuser.com/questions/1159834/is-an-ack-necessary-when-using-reliable-protocols-like-tcp-how-much-overhead" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:3 }); posts_hot_network.click({ item_type:2, location:11 })">
- Is an ACK necessary when using reliable protocols like TCP? How much overhead / throughput penalty does it create?
- </a>
- </li>
- <li class="dno js-hidden">
- <div class="favicon favicon-scifi" title="Science Fiction & Fantasy Stack Exchange"></div><a href="http://scifi.stackexchange.com/questions/148227/why-did-it-take-longer-to-go-to-rivendell-in-the-hobbit-than-in-the-fellowship-o" class="js-gps-track" data-gps-track="site.switch({ item_type:11, target_site:186 }); posts_hot_network.click({ item_type:2, location:11 })">
- Why did it take longer to go to Rivendell in The Hobbit than in The Fellowship of the Ring?
- </a>
- </li>
- </ul>
- <a href="#"
- class="show-more js-show-more js-gps-track"
- data-gps-track="posts_hot_network.click({ item_type:3, location:11 })">
- more hot questions
- </a>
- </div>
- </div>
- <div id="feed-link">
- <div id="feed-link-text">
- <a href="/feeds/question/41318533" title="feed of this question and its answers">
- <span class="feed-icon"></span>question feed
- </a>
- </div>
- </div> <script>
- StackExchange.ready(function(){$.get('/posts/41318533/ivc/2ec9');});
- </script>
- <noscript>
- <div><img src="/posts/41318533/ivc/2ec9" class="dno" alt="" width="0" height="0"></div>
- </noscript><div style="display:none" id="prettify-lang">default</div></div>
- </div>
- </div>
- <div id="footer" class="categories">
- <div class="footerwrap">
- <div id="footer-menu">
- <div class="top-footer-links">
- <a href="http://stackoverflow.com/company/about">about us</a>
- <a href="/tour">tour</a>
- <a href="/help">help</a>
- <a href="http://stackoverflow.blog?blb=1">blog</a>
- <a href="http://chat.stackoverflow.com">chat</a>
- <a href="http://data.stackexchange.com">data</a>
- <a href="http://stackexchange.com/legal">legal</a>
- <a href="http://stackexchange.com/legal/privacy-policy">privacy policy</a>
- <a href="http://stackoverflow.com/company/work-here">work here</a>
- <a href="https://www.stackoverflowbusiness.com/advertise">advertising info</a>
- <a onclick='StackExchange.switchMobile("on")'>mobile</a>
- <b><a href="/contact">contact us</a></b>
- <b><a href="http://meta.stackoverflow.com">feedback</a></b>
- </div>
- <div id="footer-sites">
- <table>
- <tr>
- <th colspan=4>
- Technology
- </th>
- <th colspan=2>
- Life / Arts
- </th>
- <th colspan=2>
- Culture / Recreation
- </th>
- <th colspan=2>
- Science
- </th>
- <th >
- Other
- </th>
- </tr>
- <tr>
- <td>
- <ol>
- <li><a href="//stackoverflow.com" title="professional and enthusiast programmers">Stack Overflow</a></li>
- <li><a href="//serverfault.com" title="system and network administrators">Server Fault</a></li>
- <li><a href="//superuser.com" title="computer enthusiasts and power users">Super User</a></li>
- <li><a href="//webapps.stackexchange.com" title="power users of web applications">Web Applications</a></li>
- <li><a href="//askubuntu.com" title="Ubuntu users and developers">Ask Ubuntu</a></li>
- <li><a href="//webmasters.stackexchange.com" title="pro webmasters">Webmasters</a></li>
- <li><a href="//gamedev.stackexchange.com" title="professional and independent game developers">Game Development</a></li>
- <li><a href="//tex.stackexchange.com" title="users of TeX, LaTeX, ConTeXt, and related typesetting systems">TeX - LaTeX</a></li>
- </ol></td><td><ol>
- <li><a href="//softwareengineering.stackexchange.com" title="professionals, academics, and students working within the systems development life cycle who care about creating, delivering, and maintaining software responsibly">Software Engineering</a></li>
- <li><a href="//unix.stackexchange.com" title="users of Linux, FreeBSD and other Un*x-like operating systems">Unix & Linux</a></li>
- <li><a href="//apple.stackexchange.com" title="power users of Apple hardware and software">Ask Different (Apple)</a></li>
- <li><a href="//wordpress.stackexchange.com" title="WordPress developers and administrators">WordPress Development</a></li>
- <li><a href="//gis.stackexchange.com" title="cartographers, geographers and GIS professionals">Geographic Information Systems</a></li>
- <li><a href="//electronics.stackexchange.com" title="electronics and electrical engineering professionals, students, and enthusiasts">Electrical Engineering</a></li>
- <li><a href="//android.stackexchange.com" title="enthusiasts and power users of the Android operating system">Android Enthusiasts</a></li>
- <li><a href="//security.stackexchange.com" title="information security professionals">Information Security</a></li>
- </ol></td><td><ol>
- <li><a href="//dba.stackexchange.com" title="database professionals who wish to improve their database skills and learn from others in the community">Database Administrators</a></li>
- <li><a href="//drupal.stackexchange.com" title="Drupal developers and administrators">Drupal Answers</a></li>
- <li><a href="//sharepoint.stackexchange.com" title="SharePoint enthusiasts">SharePoint</a></li>
- <li><a href="//ux.stackexchange.com" title="user experience researchers and experts">User Experience</a></li>
- <li><a href="//mathematica.stackexchange.com" title="users of Wolfram Mathematica">Mathematica</a></li>
- <li><a href="//salesforce.stackexchange.com" title="Salesforce administrators, implementation experts, developers and anybody in-between">Salesforce</a></li>
- <li><a href="//expressionengine.stackexchange.com" title="administrators, end users, developers and designers for ExpressionEngine® CMS">ExpressionEngine® Answers</a></li>
- <li><a href="//crypto.stackexchange.com" title="software developers, mathematicians and others interested in cryptography">Cryptography</a></li>
- </ol></td><td><ol>
- <li><a href="//codereview.stackexchange.com" title="peer programmer code reviews">Code Review</a></li>
- <li><a href="//magento.stackexchange.com" title="users of the Magento e-Commerce platform">Magento</a></li>
- <li><a href="//dsp.stackexchange.com" title="practitioners of the art and science of signal, image and video processing">Signal Processing</a></li>
- <li><a href="//raspberrypi.stackexchange.com" title="users and developers of hardware and software for Raspberry Pi">Raspberry Pi</a></li>
- <li><a href="//codegolf.stackexchange.com" title="programming puzzle enthusiasts and code golfers">Programming Puzzles & Code Golf</a></li>
- <li>
- <a href="http://stackexchange.com/sites#technology" class="more">
- more (7)
- </a>
- </li>
- </ol>
- </td>
- <td>
- <ol>
- <li><a href="//photo.stackexchange.com" title="professional, enthusiast and amateur photographers">Photography</a></li>
- <li><a href="//scifi.stackexchange.com" title="science fiction and fantasy enthusiasts">Science Fiction & Fantasy</a></li>
- <li><a href="//graphicdesign.stackexchange.com" title="Graphic Design professionals, students, and enthusiasts">Graphic Design</a></li>
- <li><a href="//movies.stackexchange.com" title="movie and tv enthusiasts">Movies & TV</a></li>
- <li><a href="//music.stackexchange.com" title="musicians, students, and enthusiasts">Music: Practice & Theory</a></li>
- <li><a href="//cooking.stackexchange.com" title="professional and amateur chefs">Seasoned Advice (cooking)</a></li>
- <li><a href="//diy.stackexchange.com" title="contractors and serious DIYers">Home Improvement</a></li>
- <li><a href="//money.stackexchange.com" title="people who want to be financially literate">Personal Finance & Money</a></li>
- </ol></td><td><ol>
- <li><a href="//academia.stackexchange.com" title="academics and those enrolled in higher education">Academia</a></li>
- <li>
- <a href="http://stackexchange.com/sites#lifearts" class="more">
- more (8)
- </a>
- </li>
- </ol>
- </td>
- <td>
- <ol>
- <li><a href="//english.stackexchange.com" title="linguists, etymologists, and serious English language enthusiasts">English Language & Usage</a></li>
- <li><a href="//skeptics.stackexchange.com" title="scientific skepticism">Skeptics</a></li>
- <li><a href="//judaism.stackexchange.com" title="those who base their lives on Jewish law and tradition and anyone interested in learning more">Mi Yodeya (Judaism)</a></li>
- <li><a href="//travel.stackexchange.com" title="road warriors and seasoned travelers">Travel</a></li>
- <li><a href="//christianity.stackexchange.com" title="committed Christians, experts in Christianity and those interested in learning more">Christianity</a></li>
- <li><a href="//ell.stackexchange.com" title="speakers of other languages learning English">English Language Learners</a></li>
- <li><a href="//japanese.stackexchange.com" title="students, teachers, and linguists wanting to discuss the finer points of the Japanese language">Japanese Language</a></li>
- <li><a href="//gaming.stackexchange.com" title="passionate videogamers on all platforms">Arqade (gaming)</a></li>
- </ol></td><td><ol>
- <li><a href="//bicycles.stackexchange.com" title="people who build and repair bicycles, people who train cycling, or commute on bicycles">Bicycles</a></li>
- <li><a href="//rpg.stackexchange.com" title="gamemasters and players of tabletop, paper-and-pencil role-playing games">Role-playing Games</a></li>
- <li><a href="//anime.stackexchange.com" title="anime and manga fans">Anime & Manga</a></li>
- <li><a href="//mechanics.stackexchange.com" title="mechanics and DIY enthusiast owners of cars, trucks, and motorcycles">Motor Vehicle Maintenance & Repair</a></li>
- <li>
- <a href="http://stackexchange.com/sites#culturerecreation" class="more">
- more (17)
- </a>
- </li>
- </ol>
- </td>
- <td>
- <ol>
- <li><a href="//mathoverflow.net" title="professional mathematicians">MathOverflow</a></li>
- <li><a href="//math.stackexchange.com" title="people studying math at any level and professionals in related fields">Mathematics</a></li>
- <li><a href="//stats.stackexchange.com" title="people interested in statistics, machine learning, data analysis, data mining, and data visualization">Cross Validated (stats)</a></li>
- <li><a href="//cstheory.stackexchange.com" title="theoretical computer scientists and researchers in related fields">Theoretical Computer Science</a></li>
- <li><a href="//physics.stackexchange.com" title="active researchers, academics and students of physics">Physics</a></li>
- <li><a href="//chemistry.stackexchange.com" title="scientists, academics, teachers and students">Chemistry</a></li>
- <li><a href="//biology.stackexchange.com" title="biology researchers, academics, and students">Biology</a></li>
- <li><a href="//cs.stackexchange.com" title="students, researchers and practitioners of computer science">Computer Science</a></li>
- </ol></td><td><ol>
- <li><a href="//philosophy.stackexchange.com" title="those interested in the study of the fundamental nature of knowledge, reality, and existence">Philosophy</a></li>
- <li>
- <a href="http://stackexchange.com/sites#science" class="more">
- more (3)
- </a>
- </li>
- </ol>
- </td>
- <td>
- <ol>
- <li><a href="//meta.stackexchange.com" title="meta-discussion of the Stack Exchange family of Q&A websites">Meta Stack Exchange</a></li>
- <li><a href="//stackapps.com" title="apps, scripts, and development with the Stack Exchange API">Stack Apps</a></li>
- <li><a href="//area51.stackexchange.com" title="proposing new sites in the Stack Exchange network">Area 51</a></li>
- <li><a href="https://www.stackoverflowbusiness.com/talent">Stack Overflow Talent</a></li>
- </ol>
- </td>
- </tr>
- </table>
- </div>
- </div>
- <div id="copyright">
- site design / logo © 2016 Stack Exchange Inc; user contributions licensed under <a href="https://creativecommons.org/licenses/by-sa/3.0/" rel="license">cc by-sa 3.0</a>
- with <a href="http://blog.stackoverflow.com/2009/06/attribution-required/" rel="license">attribution required</a>
- </div>
- <div id="svnrev">
- rev 2016.12.24.1
- </div>
- </div>
- </div>
- <noscript>
- <div id="noscript-warning">Stack Overflow works best with JavaScript enabled<img src="http://pixel.quantserve.com/pixel/p-c1rF4kxgLUzNc.gif" alt="" class="dno"></div>
- </noscript>
- <script>var p = "http", d = "static"; if (document.location.protocol == "https:") { p += "s"; d = "engine"; } var z = document.createElement("script"); z.type = "text/javascript"; z.async = true; z.src = p + "://" + d + ".adzerk.net/ados.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(z, s);</script>
- <script>
- var ados = ados || {};
- ados.run = ados.run || [];
- ados.run.push(function () {
- setTimeout(function () { $("#adzerk-user-match").remove(); }, window.AUMIframeDone ? 0 : 2000);
- ados_setKeywords('javascript,ajax,google-chrome-extension,x-user-registered,x-cross-site-serverfault.com');; ados_load();
- });
- </script>
- <script>
- (function(i, s, o, g, r, a, m) {
- i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function() { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o),
- m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m);
- })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
- ga('create', 'UA-5620270-1', {'userId': '6363229' });
- ga('create', 'UA-5620270-59', {'userId': '6363229' }, 'pageData');
- ga('set', 'dimension1', '6363229'); ga('pageData.set', 'dimension1', '6363229'); ga('set', 'dimension2', '|javascript|ajax|google-chrome-extension|'); ga('pageData.set', 'dimension2', '|javascript|ajax|google-chrome-extension|'); ga('send', 'pageview');
- ga('pageData.send', 'pageview');
- var _qevents = _qevents || [],
- _comscore = _comscore || [];
- (function () {
- var ssl='https:'==document.location.protocol,
- s=document.getElementsByTagName('script')[0],
- qc=document.createElement('script');
- qc.async = true;
- qc.src = (ssl ? 'https://secure' : 'http://edge') + '.quantserve.com/quant.js';
- s.parentNode.insertBefore(qc, s);
- _qevents.push({ qacct: "p-c1rF4kxgLUzNc" });
- var sc=document.createElement('script');
- sc.async=true;
- sc.src=(ssl?'https://sb':'http://b') + '.scorecardresearch.com/beacon.js';
- s.parentNode.insertBefore(sc, s);
- _comscore.push({ c1: "2", c2: "17440561" });
- })();
- </script>
- <script type="text/javascript">
- (function(appendChild) {
- Node.prototype.appendChild = function() {
- var parent = this;
- var newNode = arguments[0];
- if (parent.nodeName === 'HEAD'
- && newNode
- && newNode.nodeName === 'SCRIPT'
- && newNode.src) {
- window.setTimeout(function() {
- var result = newNode.src.match(/^https:\/\/maps\.googleapis\.com\/maps\/api\/place\/js\/(\w+)Service\./i) || [];
- var service = result[1];
- if (service) {
- if (service === 'Autocompletion') service = 2;
- else if (service === 'Place') service = 1;
- else service = 0;
- StackExchange.using('gps', function() {
- StackExchange.gps.track('google_maps_places_api.call', { service: service });
- });
- }
- }, 0);
- }
- return appendChild.apply(this, arguments);
- };
- })(Node.prototype.appendChild);
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement