> Tried using the CompareTiddlersPlugin....but I get the error message
> that "form is undefined".  Do I need another plugin for Compare to
> work???

Did you by any chance *rename* the plugin tiddler?

The code for the <<compareTiddlers>> macro does this:

var out=createTiddlyElement(place,'span');
out.innerHTML=store.getTiddlerText('CompareTiddlersPlugin##html');
var form=out.getElementsByTagName('form')[0];

This code fetches the form HTML from a hidden section of the plugin
content and renders it into a span, then in retrieves the form element
from the rendered content in order to initialize the droplists.

However, if you rename the plugin tiddler, then getTiddlerText() will
*not* find the hidden section and the form will not be created.
Without an existing form, the retrieved 'form' variable will be *null*
and attempts to use that returned value in later statements will
trigger the 'form is undefined' error that you are seeing.

If you have *not* renamed the tiddler, then something else is probably
broken about your installation, as the plugin seems to be working just
fine for me.

-e

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