Hi Secret-HQ,

The most important question is: In what context do you want to use
this? Do you really want to output a table or would you rather want to
provide a count for the length of any input element's value? ...which
is what the following does using a bunch of jQuery statements:

http://pastebin.com/CgCwt7Rx

In general. Do not put forms as strings into your macro or plugin.
Instead put templates into a dedicated tiddler or section (of your
plugin) and get it's content in the macro like so...

template=store.getTiddlerText('MyTemplateTidler##TemplateSection');

You can also put placeholders in you templates like

!TemplateSection
<html><div id="%0">%1</div></html>

...and then replace them like this...

template=store.getTiddlerText('MyTemplateTidler##TemplateSection').format(['someId','some
content']);


Cheers, Tobias.

-- 
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