[Proto-Scripty] Template to element

2011-04-28 Thread kstubs
Template evaluate returns a string. What is the best way to go from string to Element? -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe

Re: [Proto-Scripty] Template to element

2011-04-28 Thread Walter Davis
You can insert it, and it will be instantiated into the element you desire, assuming that it is valid HTML after it's been evaluated, and you're inserting it into a spot in the DOM where that makes sense. For example, a TR inside a TBODY or THEAD, a SPAN inside a P... If you want to make