Advertisement
ys27

Ajax Return

Dec 24th, 2016
926
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.97 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html itemscope itemtype="http://schema.org/QAPage">
  3.  
  4. <head>
  5.  
  6. <title>javascript - Ajax return what client would see - Stack Overflow</title>
  7. <link rel="shortcut icon" href="https://cdn.sstatic.net/Sites/stackoverflow/img/favicon.ico?v=4f32ecc8f43d">
  8. <link rel="apple-touch-icon image_src" href="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png?v=c78bd457575a)">
  9. <link rel="search" type="application/opensearchdescription+xml" title="Stack Overflow" href="/opensearch.xml">
  10. <meta name="twitter:card" content="summary">
  11. <meta name="twitter:domain" content="stackoverflow.com"/>
  12. <meta property="og:type" content="website" />
  13.  
  14. <meta property="og:image" itemprop="image primaryImageOfPage" content="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon@2.png?v=73d79a89bded" />
  15. <meta name="twitter:title" property="og:title" itemprop="title name" content="Ajax return what client would see" />
  16. <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&#39;t return the data that I would like, an..." />
  17. <meta property="og:url" content="http://stackoverflow.com/questions/41318533/ajax-return-what-client-would-see"/>
  18. <link rel="canonical" href="http://stackoverflow.com/questions/41318533/ajax-return-what-client-would-see" />
  19.  
  20.  
  21.  
  22. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
  23. <script src="https://cdn.sstatic.net/Js/stub.en.js?v=890cc3074d03"></script>
  24. <link rel="stylesheet" type="text/css" href="https://cdn.sstatic.net/Sites/stackoverflow/all.css?v=b0ea75532e6d">
  25.  
  26. <link rel="alternate" type="application/atom+xml" title="Feed for question &#39;Ajax return what client would see&#39;" href="/feeds/question/41318533">
  27. <meta name="twitter:app:country" content="US" />
  28. <meta name="twitter:app:name:iphone" content="Stack Exchange iOS" />
  29. <meta name="twitter:app:id:iphone" content="871299723" />
  30. <meta name="twitter:app:url:iphone" content="se-zaphod://stackoverflow.com/questions/41318533/ajax-return-what-client-would-see" />
  31. <meta name="twitter:app:name:ipad" content="Stack Exchange iOS" />
  32. <meta name="twitter:app:id:ipad" content="871299723" />
  33. <meta name="twitter:app:url:ipad" content="se-zaphod://stackoverflow.com/questions/41318533/ajax-return-what-client-would-see" />
  34. <meta name="twitter:app:name:googleplay" content="Stack Exchange Android">
  35. <meta name="twitter:app:url:googleplay" content="http://stackoverflow.com/questions/41318533/ajax-return-what-client-would-see">
  36. <meta name="twitter:app:id:googleplay" content="com.stackexchange.marvin">
  37. <script>
  38.  
  39. StackExchange.ready(function () {
  40.  
  41. StackExchange.using("snippets", function () {
  42. StackExchange.snippets.initSnippetRenderer();
  43. });
  44.  
  45.  
  46. StackExchange.using("postValidation", function () {
  47. StackExchange.postValidation.initOnBlurAndSubmit($('#post-form'), 2, 'answer');
  48. });
  49.  
  50.  
  51. StackExchange.question.init({votesCast:[],autoShowCommentHelp:true,showAnswerHelp:true,totalCommentCount:1,shownCommentCount:1,highlightColor:'#F4A83D',backgroundColor:'#FFF',questionId:41318533});
  52.  
  53. styleCode();
  54.  
  55. StackExchange.realtime.subscribeToQuestion('1', '41318533');
  56. StackExchange.using("gps", function () { StackExchange.gps.trackOutboundClicks('#content', '.post-text', true); });
  57.  
  58. });
  59. </script>
  60.  
  61. <script>
  62. StackExchange.ready(function () {
  63. try {
  64. if (!document.createElementNS('http://www.w3.org/2000/svg', "svg").createSVGTransform)
  65. return;
  66. } catch (ex) {
  67. return;
  68. }
  69. var d = 100;
  70. $.ajax({url:"//cdn-prom.sstatic.net/WinterBash/js/qa-wb.js?v=8",cache:true,dataType:"script"}).done(function tryInit() {
  71. if (window.WinterBash) {
  72. WinterBash.core.init('winterbash2016.stackexchange.com', '//cdn-prom.sstatic.net/WinterBash/', '8');
  73. } else {
  74. if (d <= 800)
  75. setTimeout(tryInit, d);
  76. d *= 2;
  77. }
  78. });
  79. });
  80. </script>
  81.  
  82. <script>
  83. 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}});
  84. 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"});
  85. StackExchange.using("gps", function() {
  86. StackExchange.gps.init(true);
  87. });
  88. </script>
  89.  
  90. </head>
  91. <body class="question-page new-topbar">
  92. <noscript><div id="noscript-padding"></div></noscript>
  93. <script>(function () { var old = $.fn.contents; $.fn.contents = function () { try { return old.apply(this, arguments); } catch (e) { return $([]); } } })()</script>
  94. <iframe id="adzerk-user-match" width="0" height="0" frameborder="0" scrolling="no" onload="window.AUMIframeDone=true"
  95. src="https://ssum-sec.casalemedia.com/usermatch?s=183712&amp;cb=https%3A%2F%2Fengine.adzerk.net%2Fudb%2F22%2Fsync%2Fi.gif%3FpartnerId%3D1%26userId%3D"
  96. style="display: none;" marginheight="0" marginwidth="0"></iframe>
  97.  
  98.  
  99.  
  100.  
  101. <div id="notify-container"></div>
  102. <div id="custom-header"></div>
  103.  
  104.  
  105.  
  106.  
  107.  
  108. <div class="topbar">
  109. <div class="topbar-wrapper">
  110.  
  111. <div class="js-topbar-dialog-corral">
  112.  
  113.  
  114. <div class="topbar-dialog siteSwitcher-dialog dno">
  115. <div class="header">
  116. <h3><a href="//stackoverflow.com">current community</a>
  117. </h3>
  118. </div>
  119. <div class="modal-content current-site-container">
  120. <ul class="current-site">
  121. <li>
  122. <div class="related-links">
  123. <a href="http://chat.stackoverflow.com" class="js-gps-track" data-gps-track="site_switcher.click({ item_type:6 })"
  124. >chat</a>
  125. <a href="/users/logout" class="js-gps-track" data-gps-track="site_switcher.click({ item_type:8 })"
  126. >log out</a>
  127. </div>
  128.  
  129.  
  130.  
  131.  
  132. <a href="//stackoverflow.com"
  133. class="current-site-link site-link js-gps-track"
  134. data-id="1"
  135. data-gps-track="
  136. site_switcher.click({ item_type:3 })">
  137. <div class="site-icon favicon favicon-stackoverflow" title="Stack Overflow"></div>
  138. Stack Overflow
  139. </a>
  140.  
  141. </li>
  142. <li class="related-site">
  143. <div class="L-shaped-icon-container">
  144. <span class="L-shaped-icon"></span>
  145. </div>
  146.  
  147.  
  148.  
  149.  
  150.  
  151. <a href="http://meta.stackoverflow.com"
  152. class="site-link js-gps-track"
  153. data-id="552"
  154. data-gps-track="
  155. site.switch({ target_site:552, item_type:3 }),
  156. site_switcher.click({ item_type:4 })">
  157. <div class="site-icon favicon favicon-stackoverflowmeta" title="Meta Stack Overflow"></div>
  158. Meta Stack Overflow
  159. </a>
  160.  
  161. </li>
  162. </ul>
  163. </div>
  164.  
  165. <div class="header" id="your-communities-header">
  166. <h3>
  167. <a href="//stackexchange.com/users/6363229/?tab=accounts">your communities</a>
  168. </h3>
  169.  
  170. <a href="#" id="edit-pinned-sites">edit</a>
  171. <a href="#" id="cancel-pinned-sites" style="display: none;">cancel</a>
  172. </div>
  173. <div class="modal-content" id="your-communities-section">
  174.  
  175. <ul class="my-sites">
  176. <li>
  177.  
  178.  
  179.  
  180.  
  181. <a href="//stackoverflow.com"
  182. class="site-link js-gps-track"
  183. data-id="1"
  184. data-gps-track="
  185. site.switch({ target_site:1, item_type:3 }),
  186. site_switcher.click({ item_type:1 })">
  187. <div class="site-icon favicon favicon-stackoverflow" title="Stack Overflow"></div>
  188. Stack Overflow
  189. <span class="rep-score">17</span>
  190. </a>
  191.  
  192. </li>
  193. <li>
  194.  
  195.  
  196.  
  197.  
  198. <a href="//superuser.com"
  199. class="site-link js-gps-track"
  200. data-id="3"
  201. data-gps-track="
  202. site.switch({ target_site:3, item_type:3 }),
  203. site_switcher.click({ item_type:1 })">
  204. <div class="site-icon favicon favicon-superuser" title="Super User"></div>
  205. Super User
  206. <span class="rep-score">6</span>
  207. </a>
  208.  
  209. </li>
  210. </ul>
  211. <div class="pinned-site-editor-container" style="display: none;">
  212. <input id="js-site-search-txt"
  213. type="text"
  214. class="site-filter-input"
  215. value=""
  216. placeholder="Add a Stack Exchange community"/>
  217. <input type="submit" id="pin-site-btn" value="Add" disabled="disabled"/>
  218. <ul class="js-found-sites found-sites"></ul>
  219. <ul class="pinned-site-list sortable" data-custom-list="False">
  220. </ul>
  221. <input type="submit" value="Save" id="save-pinned-sites-btn" disabled="disabled"/>
  222. <a href="#" id="reset-pinned-sites">reset to default list</a>
  223. </div>
  224. </div>
  225.  
  226. <div class="header">
  227. <h3><a href="//stackexchange.com/sites">more stack exchange communities</a>
  228. </h3>
  229. <a href="http://stackoverflow.blog" class="fr">company blog</a>
  230. </div>
  231. <div class="modal-content">
  232. <div class="child-content"></div>
  233. </div>
  234. </div>
  235. </div>
  236.  
  237. <div class="network-items">
  238. <a href="//stackexchange.com"
  239. class="topbar-icon icon-site-switcher yes-hover js-site-switcher-button js-gps-track"
  240. data-gps-track="site_switcher.show"
  241. title="A list of all 162 Stack Exchange sites">
  242. <span class="hidden-text">Stack Exchange</span>
  243. </a>
  244.  
  245. <a href="#"
  246. class="topbar-icon icon-inbox yes-hover js-inbox-button"
  247. title="You have unread inbox messages">
  248. <span class="hidden-text">Inbox</span>
  249. <span class="unread-count" style="">1</span>
  250. </a>
  251. <a href="#"
  252. class="topbar-icon icon-achievements yes-hover js-achievements-button icon-achievements-unread"
  253. data-unread-class="icon-achievements-unread"
  254. title="You have new achievements">
  255. <span class="hidden-text">Reputation and Badges</span>
  256. <span class="unread-count" style="display:none">
  257.  
  258. </span>
  259. </a>
  260. </div>
  261.  
  262. <div class="topbar-links">
  263.  
  264. <a href="/users/4938051/ys27"
  265. class="profile-me js-gps-track"
  266. data-gps-track="profile_summary.click()">
  267.  
  268. <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>
  269.  
  270. <div class="links-container topbar-flair">
  271.  
  272. <span class="reputation" title="your reputation: 17">
  273. 17
  274. </span>
  275. <span title="6 bronze badges"><span class="badge3"></span><span class="badgecount">6</span></span> </div>
  276. </a>
  277. <div class="links-container">
  278. <span class="topbar-menu-links">
  279.  
  280.  
  281.  
  282.  
  283. <a href="#" class="icon-help js-help-button" title="Help Center and other resources">
  284. help
  285. <span class="triangle"></span>
  286. </a>
  287. <div class="topbar-dialog help-dialog js-help-dialog dno">
  288. <div class="modal-content">
  289. <ul>
  290. <li>
  291. <a href="/tour" class="js-gps-track" data-gps-track="help_popup.click({ item_type:1 })">
  292. Tour
  293. <span class="item-summary">
  294. Start here for a quick overview of the site
  295. </span>
  296. </a>
  297. </li>
  298. <li>
  299. <a href="/help" class="js-gps-track" data-gps-track="help_popup.click({ item_type:4 })">
  300. Help Center
  301. <span class="item-summary">
  302. Detailed answers to any questions you might have
  303. </span>
  304. </a>
  305. </li>
  306. <li>
  307. <a href="//meta.stackoverflow.com" class="js-gps-track" data-gps-track="help_popup.click({ item_type:2 })">
  308. Meta
  309. <span class="item-summary">
  310. Discuss the workings and policies of this site
  311. </span>
  312. </a>
  313. </li>
  314. <li>
  315. <a href="http://stackoverflow.com/company/about" class="js-gps-track" data-gps-track="help_popup.click({ item_type:6 })">
  316. About Us
  317. <span class="item-summary">
  318. Learn more about Stack Overflow the company
  319. </span>
  320. </a>
  321. </li>
  322. <li>
  323. <a href="https://www.stackoverflowbusiness.com/?ref=topbar_help" class="js-gps-track" data-gps-track="help_popup.click({ item_type:7 })">
  324. Business
  325. <span class="item-summary">
  326. Learn more about hiring developers or posting ads with us
  327. </span>
  328. </a>
  329. </li>
  330. </ul>
  331. </div>
  332. </div>
  333. </span>
  334. </div>
  335.  
  336. <div class="search-container">
  337. <form id="search" action="/search" method="get" autocomplete="off">
  338. <input name="q" type="text" placeholder="Search Q&amp;A" value="" tabindex="1" autocomplete="off" maxlength="240" />
  339. </form>
  340. </div>
  341.  
  342. </div>
  343. </div>
  344. </div>
  345. <script>
  346. StackExchange.ready(function() { StackExchange.topbar.init(); });
  347. </script>
  348.  
  349. <div class="container">
  350. <div id="header">
  351. <br class="cbt">
  352. <div id="hlogo">
  353. <a href="/" >
  354. Stack Overflow
  355. </a>
  356. </div>
  357. <div id="hmenus">
  358. <div class="nav mainnavs">
  359. <ul>
  360. <li class="youarehere">
  361. <a id="nav-questions"
  362. href="/questions"
  363. class="js-gps-track"
  364. data-gps-track="top_nav.click({is_current:true, location:3, destination:1})">
  365. Questions
  366. </a>
  367. </li>
  368.  
  369. <li>
  370. <a id="nav-jobs"
  371. href="/jobs?med=site-ui&amp;ref=jobs-tab"
  372. class="js-gps-track"
  373. data-gps-track="top_nav.click({is_current:false, location:3, destination:6})">
  374. Jobs
  375. </a>
  376. </li>
  377. <li>
  378. <a id="nav-docs"
  379. href="/documentation"
  380. class="js-gps-track"
  381. data-gps-track="top_nav.click({is_current:false, location:3, destination:7})">
  382. Documentation
  383. </a>
  384. </li>
  385. <li>
  386. <a id="nav-tags"
  387. href="/tags"
  388. class="js-gps-track"
  389. data-gps-track="top_nav.click({is_current:false, location:3, destination:2})">
  390. Tags
  391. </a>
  392. </li>
  393.  
  394. <li>
  395. <a id="nav-users"
  396. href="/users"
  397. class="js-gps-track"
  398. data-gps-track="top_nav.click({is_current:false, location:3, destination:3})">
  399. Users
  400. </a>
  401. </li>
  402.  
  403. <li>
  404. <a id="nav-badges"
  405. href="/help/badges"
  406. class="js-gps-track"
  407. data-gps-track="top_nav.click({is_current:false, location:3, destination:4})">
  408. Badges
  409. </a>
  410. </li>
  411.  
  412. </ul>
  413. </div>
  414. <div class="nav askquestion">
  415. <ul>
  416. <li>
  417. <a id="nav-askquestion" href="/questions/ask">Ask Question</a>
  418. </li>
  419. </ul>
  420. </div>
  421. </div>
  422. </div>
  423.  
  424.  
  425.  
  426.  
  427. <div id="content" class="snippet-hidden">
  428.  
  429.  
  430. <div itemscope itemtype="http://schema.org/Question">
  431. <link itemprop="image" href="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png?v=c78bd457575a">
  432. <div id="question-header">
  433. <h1 itemprop="name"><a href="/questions/41318533/ajax-return-what-client-would-see" class="question-hyperlink">Ajax return what client would see</a></h1>
  434. </div>
  435. <div id="mainbar">
  436.  
  437.  
  438.  
  439. <div class="question" data-questionid="41318533" id="question">
  440.  
  441. <input type="hidden" id="41318533-only-allow-inform-moderator-flagging" value="true" />
  442. <script>
  443. var ados = ados || {}; ados.run = ados.run || [];
  444. ados.run.push(function () { ados_add_placement(22,8277,"adzerk1522146230",4).setZone(43); });
  445. </script>
  446. <div class="everyonelovesstackoverflow" id="adzerk1522146230"></div> <table>
  447. <tr>
  448. <td class="votecell">
  449.  
  450.  
  451. <div class="vote">
  452. <input type="hidden" name="_id_" value="41318533">
  453. <a class="vote-up-off" title="This question shows research effort; it is useful and clear (click again to undo)">up vote</a>
  454. <span itemprop="upvoteCount" class="vote-count-post ">0</span>
  455. <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>
  456.  
  457. <a class="star-off" href="#">favorite</a>
  458. <div class="favoritecount"><b></b></div>
  459.  
  460.  
  461. </div>
  462.  
  463. </td>
  464.  
  465. <td class="postcell">
  466. <div>
  467. <div class="post-text" itemprop="text">
  468.  
  469. <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>
  470.  
  471. <pre><code>$.ajax({
  472. url: url,
  473. dataType: "html",
  474. context: document.body,
  475. success: function(data) {
  476. console.log("Success");
  477. },
  478. error: function (e) {
  479. console.log("Error: Not a valid URL.");
  480. }
  481. });
  482. </code></pre>
  483. </div>
  484. <div class="post-taglist">
  485. <a href="/questions/tagged/javascript" class="post-tag" title="show questions tagged &#39;javascript&#39;" rel="tag">javascript</a> <a href="/questions/tagged/ajax" class="post-tag" title="show questions tagged &#39;ajax&#39;" rel="tag">ajax</a> <a href="/questions/tagged/google-chrome-extension" class="post-tag" title="show questions tagged &#39;google-chrome-extension&#39;" rel="tag"><img src="//i.stack.imgur.com/EdUwb.png" height="16" width="18" alt="" class="sponsor-tag-img">google-chrome-extension</a>
  486. </div>
  487. <table class="fw">
  488. <tr>
  489. <td class="vt">
  490. <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="#"
  491. id="delete-post-41318533"
  492. title="vote to delete this post"
  493. class=""
  494. data-delete-prompt="Delete this post?"
  495. data-undelete-prompt="Undelete this post?">delete</a><span class="lsep">|</span><a href="#"
  496. class="flag-post-link"
  497. title="flag this post for serious problems or moderator attention"
  498. data-postid="41318533">flag</a></div>
  499. </td>
  500. <td class="post-signature owner">
  501. <div class="user-info ">
  502. <div class="user-action-time">
  503. asked <span title="2016-12-25 03:47:50Z" class="relativetime">12 mins ago</span>
  504. </div>
  505. <div class="user-gravatar32">
  506. <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>
  507. </div>
  508. <div class="user-details">
  509. <a href="/users/4938051/ys27">ys27</a>
  510. <div class="-flair">
  511. <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>
  512. </div>
  513. </div>
  514. </div>
  515. </td>
  516. </tr>
  517. </table>
  518. </div>
  519. </td>
  520. </tr>
  521.  
  522. <tr>
  523. <td class="votecell"></td>
  524. <td>
  525. <div id="comments-41318533" class="comments ">
  526. <table>
  527. <tbody data-remaining-comments-count="0"
  528. data-canpost="true"
  529. data-cansee="false"
  530. data-comments-unavailable="false"
  531. data-addlink-disabled="false">
  532.  
  533.  
  534.  
  535. <tr id="comment-69840797" class="comment ">
  536. <td class="comment-actions">
  537. <table>
  538. <tbody>
  539. <tr>
  540. <td class=" comment-score">
  541. &nbsp;&nbsp;
  542. </td>
  543. <td>
  544. <a class="comment-up comment-up-off" title="this comment adds something useful to the post">upvote</a>
  545. </td>
  546. </tr>
  547. <tr>
  548. <td>&nbsp;</td>
  549. <td>
  550. <a class="comment-flag" title="Flag this comment for serious problems or moderator attention">flag</a>
  551. </td>
  552. </tr>
  553. </tbody>
  554. </table>
  555. </td>
  556. <td class="comment-text">
  557. <div style="display: block;" class="comment-body">
  558. <span class="comment-copy">What are you getting back in <code>data</code>?</span>
  559. &ndash;&nbsp;<a href="/users/1475228/pritam-banerjee"
  560. title="4,170 reputation"
  561. class="comment-user">Pritam Banerjee</a>
  562. <span class="comment-date" dir="ltr"><span title="2016-12-25 03:50:47Z" class="relativetime-clean">9 mins ago</span></span>
  563. </div>
  564. </td>
  565. </tr>
  566. </tbody>
  567. <tfoot>
  568. <tr>
  569. <td></td>
  570. <td class="comment-form">
  571. <form id="add-comment-41318533"
  572. class=""
  573. 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>
  574. </td>
  575. </tr>
  576. </tfoot>
  577. </table>
  578. </div>
  579.  
  580. <div id="comments-link-41318533" >
  581.  
  582. <a class="js-add-link comments-link "
  583. 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."
  584. href=#>add a comment</a><span class="js-link-separator dno">&nbsp;|&nbsp;</span>
  585. <a class="js-show-link comments-link dno" title="expand to show all comments on this post" href=# onclick=""></a>
  586. </div>
  587. </td>
  588. </tr> </table>
  589. </div>
  590.  
  591. <div id="answers" class="no-answers">
  592.  
  593. <a name="tab-top"></a>
  594. <div id="answers-header">
  595. <div class="subheader answers-subheader">
  596. <h2>
  597. </h2>
  598. <div style="display:none;">
  599. <div id="tabs">
  600. <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">
  601. active</a>
  602. <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">
  603. oldest</a>
  604. <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">
  605. votes</a>
  606. </div>
  607. </div>
  608. </div>
  609. </div>
  610.  
  611.  
  612.  
  613. <h2 class="bottom-notice bottom-share-links" style="padding-top: 8px; margin-bottom: -8px;">
  614. 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&amp;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>
  615. <a name='new-answer'></a>
  616. <form id="post-form" action="/questions/41318533/answer/submit" method="post" class="dno post-form">
  617. <input type="hidden" id="post-id" value="41318533" />
  618. <input type="hidden" id="qualityBanWarningShown" name="qualityBanWarningShown" value="false" />
  619. <input type="hidden" name="referrer" value=""/>
  620. <h2 class="space">Your Answer</h2>
  621.  
  622.  
  623. <script>
  624. StackExchange.ifUsing("editor", function () {
  625. StackExchange.using("externalEditor", function () {
  626. StackExchange.using("snippets", function () {
  627. StackExchange.snippets.init();
  628. });
  629. });
  630. }, "code-snippets");
  631. </script>
  632.  
  633.  
  634. <script>
  635. StackExchange.ready(function() {
  636. initTagRenderer("".split(" "), "".split(" "));
  637.  
  638. StackExchange.using("externalEditor", function() {
  639. // Have to fire editor after snippets, if snippets enabled
  640. if (StackExchange.settings.snippets.snippetsEnabled) {
  641. StackExchange.using("snippets", function() {
  642. createEditor();
  643. });
  644. }
  645. else {
  646. createEditor();
  647. }
  648. });
  649.  
  650. function createEditor() {
  651. prepareEditor({
  652. heartbeatType: 'answer',
  653. convertImagesToLinks: false,
  654. reputationToPostImages: null,
  655. bindNavPrevention: true,
  656. postfix: "",
  657. onDemand: false,
  658. discardSelector: ".discard-answer"
  659. ,immediatelyShowMarkdownHelp:true
  660. });
  661.  
  662.  
  663. }
  664. });
  665. </script>
  666.  
  667.  
  668. <div id="post-editor" class="post-editor js-post-editor">
  669.  
  670. <div style="position: relative;">
  671. <div class="wmd-container">
  672. <div id="wmd-button-bar" class="wmd-button-bar"></div>
  673. <textarea id="wmd-input" class="wmd-input" name="post-text" cols="92" rows="15" tabindex="101" data-min-length=""></textarea>
  674. </div>
  675. </div>
  676.  
  677. <div class="fl" style="margin-top: 8px; height:24px;">&nbsp;</div>
  678. <div id="draft-saved" class="draft-saved community-option fl" style="margin-top: 8px; height:24px; display:none;">draft saved</div>
  679.  
  680. <div id="draft-discarded" class="draft-discarded community-option fl" style="margin-top: 8px; height:24px; display:none;">draft discarded</div>
  681.  
  682. <div class="community-option">
  683. <input id="communitymode" name="communitymode" type="checkbox" >
  684. <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>
  685. </div>
  686.  
  687.  
  688. <div id="wmd-preview" class="wmd-preview"></div>
  689. <div></div>
  690. <div class="edit-block">
  691. <input id="fkey" name="fkey" type="hidden" value="b4455939fc78e02d2c9afa970ecd0c02">
  692. <input id="author" name="author" type="text">
  693. </div>
  694.  
  695.  
  696.  
  697. </div>
  698. <div style="position: relative;">
  699.  
  700.  
  701. </div>
  702.  
  703. <div class="form-submit cbt">
  704. <input id="submit-button" type="submit" value="Post Your Answer" tabindex="110">
  705. <a href="#" class="btn-clear discard-answer dno">discard</a>
  706. </div>
  707. </form>
  708. <div id="show-editor-button" class="form-submit">
  709. <input type="button"
  710. value="Answer Your Question"
  711. data-confirm-text="Are you sure you want to answer your own question?
  712.  
  713. If you&#39;re responding to answers left on your question, enter comments under each answer.
  714.  
  715. If you need to add details to your question, use the edit link under your question."
  716. data-confirm-use-fancy="True"
  717. data-confirm-fancy-title="Are you sure you want to answer your question?"
  718. data-confirm-fancy-body="<b>Comment</b> if you&#39;re trying to respond to an answer. <br/><br/> <b>Edit your question</b> if you need to add more details. <br/><br/>"
  719. data-confirm-fancy-accept-button="Yes, I want to post an answer"/>
  720. </div>
  721. <script>
  722. StackExchange.ready(function () {
  723. $("#show-editor-button input").click(function () {
  724. var showEditor = function() {
  725. $("#show-editor-button").hide();
  726. $("#post-form").removeClass("dno");
  727. StackExchange.editor.finallyInit();
  728. };
  729.  
  730. var useFancy = $(this).data('confirm-use-fancy');
  731. if(useFancy == 'True') {
  732. var popupTitle = $(this).data('confirm-fancy-title');
  733. var popupBody = $(this).data('confirm-fancy-body');
  734. var popupAccept = $(this).data('confirm-fancy-accept-button');
  735.  
  736. $(this).loadPopup({
  737. url: '/post/self-answer-popup',
  738. loaded: function(popup) {
  739. var pTitle = $(popup).find('h2');
  740. var pBody = $(popup).find('.popup-body');
  741. var pSubmit = $(popup).find('.popup-submit');
  742.  
  743. pTitle.text(popupTitle);
  744. pBody.html(popupBody);
  745. pSubmit.val(popupAccept).click(showEditor);
  746. }
  747. })
  748. } else{
  749. var confirmText = $(this).data('confirm-text');
  750. if (confirmText ? confirm(confirmText) : true) {
  751. showEditor();
  752. }
  753. }
  754. });
  755. });
  756. </script>
  757.  
  758.  
  759.  
  760.  
  761. </div>
  762. </div>
  763. <div id="sidebar" class="show-votes">
  764. <div class="module question-stats">
  765. <table id="qinfo">
  766. <tr>
  767. <td>
  768. <p class="label-key">asked</p>
  769. </td>
  770. <td style="padding-left: 10px">
  771. <p class="label-key" title="2016-12-25 03:47:50Z"><b>today</b></p>
  772. </td>
  773. </tr>
  774. <tr>
  775. <td>
  776. <p class="label-key">viewed</p>
  777. </td>
  778.  
  779. <td style="padding-left: 10px">
  780. <p class="label-key">
  781. <b>10 times</b>
  782. </p>
  783. </td>
  784. </tr>
  785. </table>
  786. </div>
  787. <div class="module community-bulletin" data-tracker="cb=1">
  788. <div class="related">
  789. <div class="bulletin-title">
  790. Featured on Meta
  791. </div>
  792. <hr />
  793. <div class="spacer">
  794. <div class="bulletin-item-type">
  795. <a href="http://meta.stackoverflow.com/questions/339974/the-dawn-of-documentation-a-solstice-update" class="question-hyperlink">
  796. <div class="favicon favicon-stackoverflowmeta" title="Meta Stack Overflow"></div> </a>
  797. </div>
  798. <div class="bulletin-item-content">
  799. <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>
  800. </div>
  801. <br class="cbt" />
  802. </div>
  803. <div class="bulletin-title">
  804. Hot Meta Posts
  805. </div>
  806. <hr />
  807. <div class="spacer">
  808. <div class="bulletin-item-type">
  809. <span title="Vote score (upvotes - downvotes)">23</span>
  810. </div>
  811. <div class="bulletin-item-content">
  812. <a href="http://meta.stackoverflow.com/questions/340142/wheres-my-24-carat-hat" class="question-hyperlink">Where&#39;s my 24 (carat) hat?</a>
  813. </div>
  814. <br class="cbt" />
  815. </div>
  816. <div class="spacer">
  817. <div class="bulletin-item-type">
  818. <span title="Vote score (upvotes - downvotes)">4</span>
  819. </div>
  820. <div class="bulletin-item-content">
  821. <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&hellip;</a>
  822. </div>
  823. <br class="cbt" />
  824. </div>
  825. <div class="spacer">
  826. <div class="bulletin-item-type">
  827. <span title="Vote score (upvotes - downvotes)">10</span>
  828. </div>
  829. <div class="bulletin-item-content">
  830. <a href="http://meta.stackoverflow.com/questions/340234/wrong-top-margin-in-flaggingclosingoff-topic-modal" class="question-hyperlink">Wrong top margin in &ldquo;Flagging&gt;Closing&gt;Off-topic&rdquo; modal</a>
  831. </div>
  832. <br class="cbt" />
  833. </div>
  834. </div>
  835. </div>
  836. <script>
  837. var ados = ados || {}; ados.run = ados.run || [];
  838. ados.run.push(function () { ados_add_placement(22,8277,"adzerk2022378168",[5,17,2221]).setZone(45); });
  839. </script>
  840. <div class="everyonelovesstackoverflow" id="adzerk2022378168"></div>
  841. <div id="hireme"></div>
  842. <script>
  843. window.clcfl_request = 'AkHvJYp6LNQIXRhhAIV4dgICAAAAAgAAAANYAAAAfGphdmFzY3JpcHR8YWpheHxnb29nbGUtY2hyb21lLWV4dGVuc2lvbnx4LXVzZXItcmVnaXN0ZXJlZHx4LWNyb3NzLXNpdGUtc2VydmVyZmF1bHQuY29tfAA1Ay_jNQsRCeSa';
  844. ;(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>
  845.  
  846.  
  847.  
  848.  
  849. <div class="module sidebar-related">
  850. <h4 id="h-related">Related</h4>
  851. <div class="related js-gps-related-questions" data-tracker="rq=1">
  852. <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 &ldquo;use strict&rdquo; 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>
  853. </div>
  854. </div>
  855.  
  856. <div id="hot-network-questions" class="module">
  857. <h4>
  858. <a href="//stackexchange.com/questions?tab=hot"
  859. class="js-gps-track"
  860. data-gps-track="posts_hot_network.click({ item_type:1, location:11 })">
  861. Hot Network Questions
  862. </a>
  863. </h4>
  864. <ul>
  865. <li >
  866. <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 })">
  867. How to change the schema of stored procedure without recreating it
  868. </a>
  869.  
  870. </li>
  871. <li >
  872. <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 })">
  873. Why wouldn&#39;t the part of the Earth facing the Sun a half year before be facing away from it now at noon?
  874. </a>
  875.  
  876. </li>
  877. <li >
  878. <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 })">
  879. Parents disagree on type of music for toddler&#39;s listening
  880. </a>
  881.  
  882. </li>
  883. <li >
  884. <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 })">
  885. Chirality of Biphenyls
  886. </a>
  887.  
  888. </li>
  889. <li >
  890. <div class="favicon favicon-english" title="English Language &amp; 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 })">
  891. Word that mean &quot;to fill the air with a bad smell&quot;?
  892. </a>
  893.  
  894. </li>
  895. <li class="dno js-hidden">
  896. <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 })">
  897. Mining Suns For Terraforming?
  898. </a>
  899.  
  900. </li>
  901. <li class="dno js-hidden">
  902. <div class="favicon favicon-movies" title="Movies &amp; 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 })">
  903. McClane is a NYPD cop. Wife Works in LA. Why was the plane going to Dulles?
  904. </a>
  905.  
  906. </li>
  907. <li class="dno js-hidden">
  908. <div class="favicon favicon-unix" title="Unix &amp; 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 })">
  909. How to send the ESC signal to vim when my esc key doesn&#39;t work?
  910. </a>
  911.  
  912. </li>
  913. <li class="dno js-hidden">
  914. <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 })">
  915. Unique representation of a vector
  916. </a>
  917.  
  918. </li>
  919. <li class="dno js-hidden">
  920. <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 })">
  921. Is it bad form to write mysterious proofs without explaining what one intends to do?
  922. </a>
  923.  
  924. </li>
  925. <li class="dno js-hidden">
  926. <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 })">
  927. Using Overpowered Theorems to Solve Easy Problems
  928. </a>
  929.  
  930. </li>
  931. <li class="dno js-hidden">
  932. <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 })">
  933. Why is there a short between my VCC and GND in this circuit?
  934. </a>
  935.  
  936. </li>
  937. <li class="dno js-hidden">
  938. <div class="favicon favicon-scifi" title="Science Fiction &amp; 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 })">
  939. Who is this six-armed blonde female character?
  940. </a>
  941.  
  942. </li>
  943. <li class="dno js-hidden">
  944. <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 })">
  945. Consecutive Numbers Sum of a number
  946. </a>
  947.  
  948. </li>
  949. <li class="dno js-hidden">
  950. <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 })">
  951. a finite sets problem
  952. </a>
  953.  
  954. </li>
  955. <li class="dno js-hidden">
  956. <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 })">
  957. Simple pack Uri builder
  958. </a>
  959.  
  960. </li>
  961. <li class="dno js-hidden">
  962. <div class="favicon favicon-codegolf" title="Programming Puzzles &amp; 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 })">
  963. Random Pixel Poking
  964. </a>
  965.  
  966. </li>
  967. <li class="dno js-hidden">
  968. <div class="favicon favicon-codegolf" title="Programming Puzzles &amp; 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 })">
  969. Sever-sort an array
  970. </a>
  971.  
  972. </li>
  973. <li class="dno js-hidden">
  974. <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 })">
  975. How do organic chemistry mechanisms become accepted?
  976. </a>
  977.  
  978. </li>
  979. <li class="dno js-hidden">
  980. <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 })">
  981. Is every parallelogram a rectangle ??
  982. </a>
  983.  
  984. </li>
  985. <li class="dno js-hidden">
  986. <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 })">
  987. Has my macOS Sierra system been infected by unknown users?
  988. </a>
  989.  
  990. </li>
  991. <li class="dno js-hidden">
  992. <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 })">
  993. 6 Water Glasses Upside Down
  994. </a>
  995.  
  996. </li>
  997. <li class="dno js-hidden">
  998. <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 })">
  999. Is an ACK necessary when using reliable protocols like TCP? How much overhead / throughput penalty does it create?
  1000. </a>
  1001.  
  1002. </li>
  1003. <li class="dno js-hidden">
  1004. <div class="favicon favicon-scifi" title="Science Fiction &amp; 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 })">
  1005. Why did it take longer to go to Rivendell in The Hobbit than in The Fellowship of the Ring?
  1006. </a>
  1007.  
  1008. </li>
  1009. </ul>
  1010.  
  1011. <a href="#"
  1012. class="show-more js-show-more js-gps-track"
  1013. data-gps-track="posts_hot_network.click({ item_type:3, location:11 })">
  1014. more hot questions
  1015. </a>
  1016. </div>
  1017. </div>
  1018.  
  1019. <div id="feed-link">
  1020. <div id="feed-link-text">
  1021. <a href="/feeds/question/41318533" title="feed of this question and its answers">
  1022. <span class="feed-icon"></span>question feed
  1023. </a>
  1024. </div>
  1025. </div> <script>
  1026. StackExchange.ready(function(){$.get('/posts/41318533/ivc/2ec9');});
  1027. </script>
  1028. <noscript>
  1029. <div><img src="/posts/41318533/ivc/2ec9" class="dno" alt="" width="0" height="0"></div>
  1030. </noscript><div style="display:none" id="prettify-lang">default</div></div>
  1031.  
  1032.  
  1033. </div>
  1034. </div>
  1035. <div id="footer" class="categories">
  1036. <div class="footerwrap">
  1037. <div id="footer-menu">
  1038. <div class="top-footer-links">
  1039. <a href="http://stackoverflow.com/company/about">about us</a>
  1040. <a href="/tour">tour</a>
  1041. <a href="/help">help</a>
  1042. <a href="http://stackoverflow.blog?blb=1">blog</a>
  1043. <a href="http://chat.stackoverflow.com">chat</a>
  1044. <a href="http://data.stackexchange.com">data</a>
  1045. <a href="http://stackexchange.com/legal">legal</a>
  1046. <a href="http://stackexchange.com/legal/privacy-policy">privacy policy</a>
  1047. <a href="http://stackoverflow.com/company/work-here">work here</a>
  1048. <a href="https://www.stackoverflowbusiness.com/advertise">advertising info</a>
  1049.  
  1050. <a onclick='StackExchange.switchMobile("on")'>mobile</a>
  1051. <b><a href="/contact">contact us</a></b>
  1052. <b><a href="http://meta.stackoverflow.com">feedback</a></b>
  1053.  
  1054. </div>
  1055. <div id="footer-sites">
  1056. <table>
  1057. <tr>
  1058. <th colspan=4>
  1059. Technology
  1060. </th>
  1061. <th colspan=2>
  1062. Life / Arts
  1063. </th>
  1064. <th colspan=2>
  1065. Culture / Recreation
  1066. </th>
  1067. <th colspan=2>
  1068. Science
  1069. </th>
  1070. <th >
  1071. Other
  1072. </th>
  1073. </tr>
  1074. <tr>
  1075. <td>
  1076. <ol>
  1077. <li><a href="//stackoverflow.com" title="professional and enthusiast programmers">Stack Overflow</a></li>
  1078. <li><a href="//serverfault.com" title="system and network administrators">Server Fault</a></li>
  1079. <li><a href="//superuser.com" title="computer enthusiasts and power users">Super User</a></li>
  1080. <li><a href="//webapps.stackexchange.com" title="power users of web applications">Web Applications</a></li>
  1081. <li><a href="//askubuntu.com" title="Ubuntu users and developers">Ask Ubuntu</a></li>
  1082. <li><a href="//webmasters.stackexchange.com" title="pro webmasters">Webmasters</a></li>
  1083. <li><a href="//gamedev.stackexchange.com" title="professional and independent game developers">Game Development</a></li>
  1084. <li><a href="//tex.stackexchange.com" title="users of TeX, LaTeX, ConTeXt, and related typesetting systems">TeX - LaTeX</a></li>
  1085. </ol></td><td><ol>
  1086. <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>
  1087. <li><a href="//unix.stackexchange.com" title="users of Linux, FreeBSD and other Un*x-like operating systems">Unix &amp; Linux</a></li>
  1088. <li><a href="//apple.stackexchange.com" title="power users of Apple hardware and software">Ask Different (Apple)</a></li>
  1089. <li><a href="//wordpress.stackexchange.com" title="WordPress developers and administrators">WordPress Development</a></li>
  1090. <li><a href="//gis.stackexchange.com" title="cartographers, geographers and GIS professionals">Geographic Information Systems</a></li>
  1091. <li><a href="//electronics.stackexchange.com" title="electronics and electrical engineering professionals, students, and enthusiasts">Electrical Engineering</a></li>
  1092. <li><a href="//android.stackexchange.com" title="enthusiasts and power users of the Android operating system">Android Enthusiasts</a></li>
  1093. <li><a href="//security.stackexchange.com" title="information security professionals">Information Security</a></li>
  1094. </ol></td><td><ol>
  1095. <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>
  1096. <li><a href="//drupal.stackexchange.com" title="Drupal developers and administrators">Drupal Answers</a></li>
  1097. <li><a href="//sharepoint.stackexchange.com" title="SharePoint enthusiasts">SharePoint</a></li>
  1098. <li><a href="//ux.stackexchange.com" title="user experience researchers and experts">User Experience</a></li>
  1099. <li><a href="//mathematica.stackexchange.com" title="users of Wolfram Mathematica">Mathematica</a></li>
  1100. <li><a href="//salesforce.stackexchange.com" title="Salesforce administrators, implementation experts, developers and anybody in-between">Salesforce</a></li>
  1101. <li><a href="//expressionengine.stackexchange.com" title="administrators, end users, developers and designers for ExpressionEngine&#174; CMS">ExpressionEngine&#174; Answers</a></li>
  1102. <li><a href="//crypto.stackexchange.com" title="software developers, mathematicians and others interested in cryptography">Cryptography</a></li>
  1103. </ol></td><td><ol>
  1104. <li><a href="//codereview.stackexchange.com" title="peer programmer code reviews">Code Review</a></li>
  1105. <li><a href="//magento.stackexchange.com" title="users of the Magento e-Commerce platform">Magento</a></li>
  1106. <li><a href="//dsp.stackexchange.com" title="practitioners of the art and science of signal, image and video processing">Signal Processing</a></li>
  1107. <li><a href="//raspberrypi.stackexchange.com" title="users and developers of hardware and software for Raspberry Pi">Raspberry Pi</a></li>
  1108. <li><a href="//codegolf.stackexchange.com" title="programming puzzle enthusiasts and code golfers">Programming Puzzles &amp; Code Golf</a></li>
  1109.  
  1110. <li>
  1111. <a href="http://stackexchange.com/sites#technology" class="more">
  1112. more (7)
  1113. </a>
  1114. </li>
  1115. </ol>
  1116. </td>
  1117. <td>
  1118. <ol>
  1119. <li><a href="//photo.stackexchange.com" title="professional, enthusiast and amateur photographers">Photography</a></li>
  1120. <li><a href="//scifi.stackexchange.com" title="science fiction and fantasy enthusiasts">Science Fiction &amp; Fantasy</a></li>
  1121. <li><a href="//graphicdesign.stackexchange.com" title="Graphic Design professionals, students, and enthusiasts">Graphic Design</a></li>
  1122. <li><a href="//movies.stackexchange.com" title="movie and tv enthusiasts">Movies &amp; TV</a></li>
  1123. <li><a href="//music.stackexchange.com" title="musicians, students, and enthusiasts">Music: Practice &amp; Theory</a></li>
  1124. <li><a href="//cooking.stackexchange.com" title="professional and amateur chefs">Seasoned Advice (cooking)</a></li>
  1125. <li><a href="//diy.stackexchange.com" title="contractors and serious DIYers">Home Improvement</a></li>
  1126. <li><a href="//money.stackexchange.com" title="people who want to be financially literate">Personal Finance &amp; Money</a></li>
  1127. </ol></td><td><ol>
  1128. <li><a href="//academia.stackexchange.com" title="academics and those enrolled in higher education">Academia</a></li>
  1129.  
  1130. <li>
  1131. <a href="http://stackexchange.com/sites#lifearts" class="more">
  1132. more (8)
  1133. </a>
  1134. </li>
  1135. </ol>
  1136. </td>
  1137. <td>
  1138. <ol>
  1139. <li><a href="//english.stackexchange.com" title="linguists, etymologists, and serious English language enthusiasts">English Language &amp; Usage</a></li>
  1140. <li><a href="//skeptics.stackexchange.com" title="scientific skepticism">Skeptics</a></li>
  1141. <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>
  1142. <li><a href="//travel.stackexchange.com" title="road warriors and seasoned travelers">Travel</a></li>
  1143. <li><a href="//christianity.stackexchange.com" title="committed Christians, experts in Christianity and those interested in learning more">Christianity</a></li>
  1144. <li><a href="//ell.stackexchange.com" title="speakers of other languages learning English">English Language Learners</a></li>
  1145. <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>
  1146. <li><a href="//gaming.stackexchange.com" title="passionate videogamers on all platforms">Arqade (gaming)</a></li>
  1147. </ol></td><td><ol>
  1148. <li><a href="//bicycles.stackexchange.com" title="people who build and repair bicycles, people who train cycling, or commute on bicycles">Bicycles</a></li>
  1149. <li><a href="//rpg.stackexchange.com" title="gamemasters and players of tabletop, paper-and-pencil role-playing games">Role-playing Games</a></li>
  1150. <li><a href="//anime.stackexchange.com" title="anime and manga fans">Anime &amp; Manga</a></li>
  1151. <li><a href="//mechanics.stackexchange.com" title="mechanics and DIY enthusiast owners of cars, trucks, and motorcycles">Motor Vehicle Maintenance &amp; Repair</a></li>
  1152.  
  1153. <li>
  1154. <a href="http://stackexchange.com/sites#culturerecreation" class="more">
  1155. more (17)
  1156. </a>
  1157. </li>
  1158. </ol>
  1159. </td>
  1160. <td>
  1161. <ol>
  1162. <li><a href="//mathoverflow.net" title="professional mathematicians">MathOverflow</a></li>
  1163. <li><a href="//math.stackexchange.com" title="people studying math at any level and professionals in related fields">Mathematics</a></li>
  1164. <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>
  1165. <li><a href="//cstheory.stackexchange.com" title="theoretical computer scientists and researchers in related fields">Theoretical Computer Science</a></li>
  1166. <li><a href="//physics.stackexchange.com" title="active researchers, academics and students of physics">Physics</a></li>
  1167. <li><a href="//chemistry.stackexchange.com" title="scientists, academics, teachers and students">Chemistry</a></li>
  1168. <li><a href="//biology.stackexchange.com" title="biology researchers, academics, and students">Biology</a></li>
  1169. <li><a href="//cs.stackexchange.com" title="students, researchers and practitioners of computer science">Computer Science</a></li>
  1170. </ol></td><td><ol>
  1171. <li><a href="//philosophy.stackexchange.com" title="those interested in the study of the fundamental nature of knowledge, reality, and existence">Philosophy</a></li>
  1172.  
  1173. <li>
  1174. <a href="http://stackexchange.com/sites#science" class="more">
  1175. more (3)
  1176. </a>
  1177. </li>
  1178. </ol>
  1179. </td>
  1180. <td>
  1181. <ol>
  1182. <li><a href="//meta.stackexchange.com" title="meta-discussion of the Stack Exchange family of Q&amp;A websites">Meta Stack Exchange</a></li>
  1183. <li><a href="//stackapps.com" title="apps, scripts, and development with the Stack Exchange API">Stack Apps</a></li>
  1184. <li><a href="//area51.stackexchange.com" title="proposing new sites in the Stack Exchange network">Area 51</a></li>
  1185. <li><a href="https://www.stackoverflowbusiness.com/talent">Stack Overflow Talent</a></li>
  1186.  
  1187. </ol>
  1188. </td>
  1189. </tr>
  1190. </table>
  1191. </div>
  1192. </div>
  1193. <div id="copyright">
  1194. site design / logo &#169; 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>
  1195. with <a href="http://blog.stackoverflow.com/2009/06/attribution-required/" rel="license">attribution required</a>
  1196. </div>
  1197. <div id="svnrev">
  1198. rev 2016.12.24.1
  1199. </div>
  1200. </div>
  1201. </div>
  1202. <noscript>
  1203. <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>
  1204. </noscript>
  1205.  
  1206. <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>
  1207. <script>
  1208. var ados = ados || {};
  1209. ados.run = ados.run || [];
  1210.  
  1211.  
  1212.  
  1213. ados.run.push(function () {
  1214. setTimeout(function () { $("#adzerk-user-match").remove(); }, window.AUMIframeDone ? 0 : 2000);
  1215. ados_setKeywords('javascript,ajax,google-chrome-extension,x-user-registered,x-cross-site-serverfault.com');; ados_load();
  1216. });
  1217.  
  1218. </script>
  1219.  
  1220. <script>
  1221. (function(i, s, o, g, r, a, m) {
  1222. 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),
  1223. m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m);
  1224. })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
  1225.  
  1226. ga('create', 'UA-5620270-1', {'userId': '6363229' });
  1227.  
  1228. ga('create', 'UA-5620270-59', {'userId': '6363229' }, 'pageData');
  1229.  
  1230. 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');
  1231. ga('pageData.send', 'pageview');
  1232.  
  1233. var _qevents = _qevents || [],
  1234. _comscore = _comscore || [];
  1235. (function () {
  1236. var ssl='https:'==document.location.protocol,
  1237. s=document.getElementsByTagName('script')[0],
  1238. qc=document.createElement('script');
  1239. qc.async = true;
  1240. qc.src = (ssl ? 'https://secure' : 'http://edge') + '.quantserve.com/quant.js';
  1241. s.parentNode.insertBefore(qc, s);
  1242. _qevents.push({ qacct: "p-c1rF4kxgLUzNc" });
  1243. var sc=document.createElement('script');
  1244. sc.async=true;
  1245. sc.src=(ssl?'https://sb':'http://b') + '.scorecardresearch.com/beacon.js';
  1246. s.parentNode.insertBefore(sc, s);
  1247. _comscore.push({ c1: "2", c2: "17440561" });
  1248. })();
  1249.  
  1250. </script>
  1251.  
  1252.  
  1253. <script type="text/javascript">
  1254.  
  1255. (function(appendChild) {
  1256. Node.prototype.appendChild = function() {
  1257. var parent = this;
  1258. var newNode = arguments[0];
  1259. if (parent.nodeName === 'HEAD'
  1260. && newNode
  1261. && newNode.nodeName === 'SCRIPT'
  1262. && newNode.src) {
  1263.  
  1264. window.setTimeout(function() {
  1265. var result = newNode.src.match(/^https:\/\/maps\.googleapis\.com\/maps\/api\/place\/js\/(\w+)Service\./i) || [];
  1266. var service = result[1];
  1267. if (service) {
  1268. if (service === 'Autocompletion') service = 2;
  1269. else if (service === 'Place') service = 1;
  1270. else service = 0;
  1271. StackExchange.using('gps', function() {
  1272. StackExchange.gps.track('google_maps_places_api.call', { service: service });
  1273. });
  1274. }
  1275. }, 0);
  1276. }
  1277. return appendChild.apply(this, arguments);
  1278. };
  1279. })(Node.prototype.appendChild);
  1280. </script>
  1281. </body>
  1282. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement