Am Montag, 2. Dezember 2013 19:08:50 UTC+1 schrieb Jeremy Ruston:
>
>
> I don't think I can see this code on GitHub, can you point me to the code
> you're talking about?
>
> As I said: I fixed the problem I had. <$tagselect group="x"
tag="y">abc</$tagselect> will now create HTML like this:
<label class="tw-tagselect">
<input type="radio" name="x{-1234567}" value="y">
<span>abc</span>
</label>
When the change event gets triggered, it first adds the selected value.
Then it fetches the HTML element's name and searches all the other elements
by that name. Then it loops over the found HTML elements, ignoring thos
which have the same value as the just added one and removing all the other
element's values from the tags.
The question simply is: Do you consider it proper tiddlywiki code, putting
the values into the HTML and taking them from there.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.