placeholderをjQueryで書き換える方法についてのメモ。「どこで使うんだ」感が凄いけど、CMSやプラグインの関係でplaceholderを触れない時などに・・・ placeholderを書き換える [html] $(document).ready(function(){ $("input").attr(‘placeholder’,’書き換え後のテキスト’); }); [/html] 参考:attr(key,value) – jQuery 日本語リファレンス placeholderを削除する [html] $(document).ready(function(){ $("input").removeAttr(‘placeholder’); }); [/html] 参考:removeAttr(name) – jQuery 日本語リファレンス 注意点 サンプルコードはinput内のp