> var append"";
missing a "="
> for (var t=0; t<tids.length; t++)
You might wanna use braces - or at least indentation, if it's just a
single line - to indicate what belongs into that loop.
> append+=txt[t]+"\n";
txt is a string, you treat it as an array (which works, but is probably
not intended - s/txt/tids/ ?)
Also, you might wanna use the array join method instead.
> store.saveTiddler(title,title,append);
You might also wanna supply the fields argument:
http://trac.tiddlywiki.org/browser/Trunk/core/js/TiddlyWiki.js?rev=11166#L309
> var title="$1";
I assume IJSP replaces that with the current tiddler title?
(I don't use IJSP myself.)
-- F.