<?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>プログラミング</anon>
    <anon>JavaScript</anon>
  </categories>
  <description>JavaScriptというかjQueryでテキストボックスに値を代入すると、代入されたら内容が変化するのでchangeイベントが発生すると思っていました。 $(&quot;input[name='abc']&quot;).val(&quot;テスト&quot;); 実際には発生しません。内容が変化したらchangeイベントが発生しないとコードがややこしくなるだけなので、どうすればいいのかと調べました。 結果は、代入したらchange()を呼び出すという方法でした。 $(&quot;input[name='abc']&quot;).val(&quot;テスト&quot;).change(); unsplash-logoCrewやってみたら確かにchangeイベントが発生する…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fajya.hatenablog.jp%2Fentry%2F2018%2F08%2F02%2F061000&quot; title=&quot;JavaScript：テキストボックスに値を入れてもchangeイベントが発生しない場合の対処 - ソフトウェア開発者の日常&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/20180802/20180802055910.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-02 06:10:00</published>
  <title>JavaScript：テキストボックスに値を入れてもchangeイベントが発生しない場合の対処</title>
  <type>rich</type>
  <url>https://ajya.hatenablog.jp/entry/2018/08/02/061000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
