<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>libkenta</author_name>
  <author_url>https://blog.hatena.ne.jp/libkenta/</author_url>
  <blog_title>おちろ！かとんぼ！</blog_title>
  <blog_url>https://libkenta.hatenadiary.org/</blog_url>
  <categories>
    <anon>javascript</anon>
  </categories>
  <description>&lt;select name=&quot;foo&quot;&gt; な奴の &lt;option&gt; が 'None' だった場合は、その名前の値を送りたくないみたいな事がやりたくて、jQuery 入ってる環境だったので以下のようにした。$(document).ready(function() { $('form').submit(function() { var $target = $(this).find('select[name=foo]'); if ($target.val() == 'None') { $target.attr('disabled', 'disabled'); } }); }); $(window).u…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flibkenta.hatenadiary.org%2Fentry%2F20120523%2F1337780142&quot; title=&quot; form 送信時に特定の要素の値を送らないようにするの法 - おちろ！かとんぼ！&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>2012-05-23 22:35:42</published>
  <title> form 送信時に特定の要素の値を送らないようにするの法</title>
  <type>rich</type>
  <url>https://libkenta.hatenadiary.org/entry/20120523/1337780142</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
