> I can't understand why 'join' does not result in the comma being added
> to 's'.

Well, because your "sec" array only has a single element, the string 
value* of the "secondary" field:

> var sec=[store.getValue(tids[i].title ,"secondary")];
> var s=sec.join(',');

I obviously don't know what kind of string that field contains - but 
from your earlier posts on [tw], I assume it's a bracketed list. So you 
probably want do deserialize that list, turning it into an array:
     var sec = store.getValue(title, "secondary").readBracketedList();

HTH.


-- F.


* extended fields' values are always strings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to