formに値入れるのにいちいち $(':input[name=name1]').val('value1'); $(':input[name=name2]').val('value1'); : …って書くのがめんどくさいのでまとめて渡す拡張 作り方 jquery.fillInForm.jsとか適当に名前をつけて保存します。 /* (C) makoto@2ch.to */ (function($){ $.fn.extend({ fillInForm : function($_){ var $self = this; if( typeof $_ === 'string' ){ if( typeof $.parse === 'undefined' ) throw 'please install jQuery parse plugin'; $_ = $.parse($_); } $.each($_,