Hello there,

I would like to add commas between the fields 'primary' and
'secondary' fields.
Intuitively i tried join.sec(',') but with no success.



Below is the script.

<script>
var out = []
var tids=store.getTaggedTiddlers('Q');
for (var i=0; i<tids.length; i++) {
var prim=store.getValue(tids[i].title ,"primary");
var sec=store.getValue(tids[i].title ,"secondary");
var d='|[['+tids[i].title+']] |' +prim+'| ' +sec+'|';
out.push(d);
}
out.push('|Q|Primary|Secondary|h');
return out.join('\n');
</script>

Thanks in advance of any help
Alex


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to