2009-10-20から1日間の記事一覧
var Maneger = function ( ) { var list = [ ]; this.has = function ( e ) { for( var cnt = 0, obj; obj = list[ cnt++ ]; ) if( obj.element == e ) return true; return false; }; this.del = function ( e ) { for( var cnt = 0, obj; obj = list[ cnt …
http://okwave.jp/qa5375441.htmlc = get2( p, 'name', 'myFlg[]' ); たったここだけをなおすだけじゃん!きづけよ!
もっとかっこよくかけたらなぁ〜 だれか教えてくれないかな・・・。 var get = (function ( ) { return function ( node, type, val, depth ) { var n = node.firstChild; var d = n ? 1: 0; var buf = [ ]; var m; if( 'undefined' === typeof depth || 1 >…