Hi jQuery, I have the following: if ( $(".div_count").data("clone_count")==undefined ) { $(".div_count").data( "clone_count", 1 ); } else { $(".div_count").data( "clone_count", $(".div_count").data("clone_count")+1 ); } var clone_count = $(".div_count").data( "clone_count" );
is there any method that can do this a little simplier (compact).. any suggestions? Peter -- Power Tumbling - http://www.powertumbling.dk OSG-Help - http://osghelp.com