<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>AJYA</author_name>
  <author_url>https://blog.hatena.ne.jp/AJYA/</author_url>
  <blog_title>ソフトウェア開発者の日常</blog_title>
  <blog_url>https://ajya.hatenablog.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>jQuery</anon>
  </categories>
  <description>3年前に記事を書いた、jQueryプラグインのChosenで、他の選択肢に選択結果により、選択肢を動的に変更しなければならくなりました。 ajya.hatenablog.jp unsplash-logoPankaj Patel試した結果として、以下のようにすればできました。 // 選択肢削除 $('#select option').remove(); // 選択肢追加 $('#select').append($('&lt;option&gt;').text('選択して下さい。').attr('value', '0')); $('#select').append($('&lt;option&gt;').text('選択…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fajya.hatenablog.jp%2Fentry%2F2018%2F10%2F31%2F130000&quot; title=&quot;jQueryプラグインChosenで選択肢の動的変更方法 - ソフトウェア開発者の日常&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>https://cdn-ak.f.st-hatena.com/images/fotolife/A/AJYA/20181031/20181031124820.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-31 13:00:00</published>
  <title>jQueryプラグインChosenで選択肢の動的変更方法</title>
  <type>rich</type>
  <url>https://ajya.hatenablog.jp/entry/2018/10/31/130000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
