<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iww</author_name>
  <author_url>https://blog.hatena.ne.jp/iww/</author_url>
  <blog_title>揮発性のメモ２</blog_title>
  <blog_url>https://iww.hateblo.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>最近は ajaxの引数で .success とか .error は使っちゃいけないらしい。 // データをサーバから取得する関数 function getdata(command){ return $.ajax({ url: &quot;test_command.php&quot;, // ﾘｸｴｽﾄ送信先URL type: &quot;POST&quot;, data: {&quot;command&quot;:command}, dataType: 'json', timeout: 10000, cache:false }).then(disp_radio) // 成功したらデータ表示。 doneではなくthenを使う .fail(show_err…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20160729%2Fp1&quot; title=&quot; ajaxでデータを取得したとき、データに不備を見つけたらエラー扱いにする - 揮発性のメモ２&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-07-29 00:00:00</published>
  <title> ajaxでデータを取得したとき、データに不備を見つけたらエラー扱いにする</title>
  <type>rich</type>
  <url>https://iww.hateblo.jp/entry/20160729/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
