<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>papamau</author_name>
  <author_url>https://blog.hatena.ne.jp/papamau/</author_url>
  <blog_title>IT業界のすみっこ暮らし</blog_title>
  <blog_url>https://pie001.hatenablog.com/</blog_url>
  <categories>
    <anon>Javascript</anon>
    <anon>開発</anon>
    <anon>jQuery</anon>
  </categories>
  <description>やりたいこと submitボタンを押下した後、ある条件の場合、ajax処理をした後（ここではバリデーション処理）、結果によってreturn false;でsubmit処理を中断させたかった。 NG で、最初下のようなコードを書いたけど、どうしてもreturn false;が効かず、そのままsubmitされてしまう…。 $('button[type=submit]').click(function () { if ($('#value').length &gt; 0) { $.ajax({ url: '/CheckValue', type: 'POST', async: false, traditio…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpie001.hatenablog.com%2Fentry%2F2017%2F01%2F25%2F195758&quot; title=&quot;ajax処理を含めたreturn falseでハマった件 - IT業界のすみっこ暮らし&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>2017-01-25 19:57:58</published>
  <title>ajax処理を含めたreturn falseでハマった件</title>
  <type>rich</type>
  <url>https://pie001.hatenablog.com/entry/2017/01/25/195758</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
