[jQuery] Q: best way to create dynamic content?

[jQuery] Q: best way to create dynamic content?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=500243521-27022007><FONT face=Arial
size=2>hi chris, </FONT></SPAN><SPAN class=500243521-27022007><FONT face=Arial
size=2>thanks for the response. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=500243521-27022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=500243521-27022007><FONT face=Arial
size=2>jsonT looks cool, but in my case it's absolutely oversized. and by the
way - it's not jQuery.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=500243521-27022007><FONT face=Arial
size=2>anyway, i think i could use both, jörns newly created plugin as well as
jsonT - but i prefer the jQuery way, because i guess it's much
smaller.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=500243521-27022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=500243521-27022007><FONT face=Arial
size=2>so jörn, if you can release your plugin it would be perfect and i
will give it a try.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=500243521-27022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=500243521-27022007><FONT face=Arial
size=2>regards, steff</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> discuss-bounces@jquery.com
[mailto:discuss-bounces@jquery.com] <B>On Behalf Of </B>Chris
Domigan<BR><B>Sent:</B> Tuesday, February 27, 2007 10:10 PM<BR><B>To:</B>
jQuery Discussion.<BR><B>Subject:</B> Re: [jQuery] Q: best way to create
dynamic content?<BR></FONT><BR></DIV>
<DIV></DIV>You should check out jsonT (<A
href="http://goessner.net/articles/jsont/">http://goessner.net/articles/jsont/</A>)<BR><BR>It
lets you transform ordinary javascript objects in HTML painlessly. So you
could do:<BR><BR>#myAnchor.append( <BR>  jsonT(<BR>    {
id:1, class:3 },<BR>    { self: "<div id='{id}'
class='{class}'></div>" }<BR>  )<BR>);<BR><BR><BR>It supports
really complex transformations, with functions etc. Anyways check it out!
<BR><BR>Chris<BR></BLOCKQUOTE></BODY></HTML>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/