Javascript and HTML Markup

Posted by Tom Wilson on 08/29/2009 14:24 EDT

jTag a javascript library for HTML

I am pleased to announce the release of jTag 0.6.0. jTag is a library that provides a very functional and readable approach to creating markup in javascript.

Coming from a Ruby background, we find when using javascript, we want to make sure that the code is very readable and very easy to understand. As we write dynamic javascript in our single page applications, we want to make sure that our javascript injects html without errors.

This lead us down the path of jTag, this library makes it extremely easy to maintain and manage complex markup data in javascript in a very clear and readable manor.

See for yourself:

jDiv('content',
  jTag('h1', 'jTag Rocks!') +
  jTag('p', 'I am pleased to announce the release
    of jTag 0.6.0.  jTag is a library that
    provides a very functional and readable
    approach to creating markup in javascript.    
  ') + 
  jTag('p', 'Coming from a Ruby background, we
   find when using javascript, we want to make
  sure that the code is very readable and very
  easy to understand.  As we write dynamic
  javascript in our single page applications, we
  want to make sure that our javascript injects
  html without errors. ')
);

We are very excited about jTag and hope you are able to find it as useful as we have the past few months.

You can download from here:

Also you can take a look at the documentation here:

Finally you can play with jTag in a sandbox here:

blog comments powered by Disqus