Untested...
function expand_refs (context) {
$(xref,context||document).each(function (i) {
var rpl = defs[$(this).attr(ref)]||0;
if(rpl){
var cntxt = $(rpl).insertAfter(this);
$(this).remove();
expand_refs(cntxt);
}
});
}
expand_refs();
On May
On Jun 1, 9:01 am, Wizzud [EMAIL PROTECTED] wrote:
Untested...
function expand_refs (context) {
$(xref,context||document).each(function (i) {
var rpl = defs[$(this).attr(ref)]||0;
if(rpl){
var cntxt = $(rpl).insertAfter(this);
$(this).remove();
2 matches
Mail list logo