Difference between revisions of "Sandbox"
From Organic Design wiki
Line 18: | Line 18: | ||
$(document).ready( function() { | $(document).ready( function() { | ||
tamfootree.closeAll(); | tamfootree.closeAll(); | ||
− | |||
$('#foo-tree .selflink').each( function() { | $('#foo-tree .selflink').each( function() { | ||
− | alert( $(this).parent().parent().attr('id').replace(/[^0-9]/, '') ); | + | alert( $(this).parent().parent().attr('id').replace(/[^0-9]/g, '') ); |
}); | }); | ||
}); | }); |
Revision as of 19:51, 8 August 2012