> alert(t); > But when I set the innerHTML of a div immediately after like so. > > window.getObject(name).innerHTML = t; > > It removes a beginning chunk of the string [snip]
Can you post the entire template code (just the loop part) and the javascript source code that gets generated from it? Where do 'name' and 't' get assigned? If name doesn't change from iteration to iteration, then maybe window.getObject(name).innerHTML gets clobbered by an assignment in a later iteration of the loop? Michael -- Michael Graham <[EMAIL PROTECTED]> ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users