<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ledsun</author_name>
  <author_url>https://blog.hatena.ne.jp/ledsun/</author_url>
  <blog_title>@ledsun blog</blog_title>
  <blog_url>https://ledsun.hatenablog.com/</blog_url>
  <categories>
    <anon>技</anon>
    <anon>JavaScript</anon>
  </categories>
  <description>初期値があると必須バリデーションが上手く動かない 初期値があると、初期値を消したときに「必須です」メッセージが表示されません。 デモ 初期値があるテキスト要素に必須バリデーションが上手く効かない - jsdo.it - Share JavaScript, HTML5 and CSS 対策 空になったタイミングで$('form').validate().form()を実行してやれば動きます。 $('form') .on('keyup', ':text', function () { if ($(this).val() === '') { $('form').validate.()form(); …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fledsun.hatenablog.com%2Fentry%2F20120712%2F1342075883&quot; title=&quot;jQuery.validate プラグイン の落とし穴 - @ledsun blog&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-07-12 15:51:23</published>
  <title>jQuery.validate プラグイン の落とし穴</title>
  <type>rich</type>
  <url>https://ledsun.hatenablog.com/entry/20120712/1342075883</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
