Hi, I did copy your code to the TeamWork TW. It's a sandbox. could you add some data to reproduce the error.
http://hoster.peermore.com/recipes/TeamWork/tiddlers.wiki#testPlugin regards Mario On Jun 24, 8:01 pm, wgw <[email protected]> wrote: > Nice technique! Everything looks right for my problem, however: > > items: [td] > i: 0 [li] > items: [td] > i: 0 [li] > > that is as it should be (well, I don't quite understand the doubling > up; I have a feeling the tiddler is being automatically refreshed at > the end of the macro execution...Maybe I should figure that out > first!), but I get the same "not a function" error. > > Will now give FireQuery a try, but I'm starting to believe that some > combination of tools or plugins on my Firefox is giving me the > problem. (Though other code, such as ListNav, seems to work without a > problem.) > > Thanks for the suggestions. (I'm learning a lot about firebug and > debugging!) > > On Jun 24, 5:38 am, PMario <[email protected]> wrote: > > > > > > > > > Hi, > > Have you tried something like this? > > > var items = $(text).find("tr td:nth-child(1)"); > > console.log('items: ', items); // <--!! > > $.each(items, function(i, itm) { > > console.log('i: ' + i, $("<li />")); // <--!! > > > $("<li />").text(itm).appendTo(place); > > > }); > > > -m -- 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.
