of course it's possible..... you'd use: - a variable that contains the string that is the template - JavaScript's ".replace" method to fill in the ID and HTML
also, there's plenty of template plugins out there (chain.js, jTemplate) On Mar 26, 11:34 am, nmiddleweek <nmiddlew...@googlemail.com> wrote: > Hello, > > I'm trying to create a dynamic list of data using jQuery... Each row > will have an INPUT and a BUTTON element. > > I'm thinking of holding a hidden 'template' for each row and then > duplicating the 'template' row for each row needed and then edit the > ID and innerHTML of the DOM elements for that row... > > Is this possible? > > Thanks, > Nick