Wow, you are the best Eric!

One more question and I get out of your hair:

If I want to look for several tags in the same tiddler (Susan), I know this 
works:

<script> 
var t=store.getTiddler("Susan"); 
if (t && t.isTagged("A Student")) return "A Student"; 
</script> 

<script> 
var t=store.getTiddler("Susan"); 
if (t && t.isTagged("B Student")) return "B Student"; 
</script> 

Is there a way to combine this in one <script>.......</script> instead of 
having to repeat the whole script?
I tried this:

<script> 
var t=store.getTiddler("Susan"); 
if (t && t.isTagged("A Student")) return "A Student"; if (t && t.isTagged("B 
Student")) return "B Student";
</script> 

but it doesn't want to work.

axelm

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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/tiddlywiki?hl=en.

Reply via email to