jQuery plugins-2: icanhaz

The second part of useful jQuery plugins is icanhaz.

icanhaz: Icanhaz simple and powerful client-side templating.
Example: template part


Example: main part

Shape Color

jQuery(document).ready(function() {
var dynamicContentObject = { };
var result;
type: "GET",
dataType: "json",
url: "samplePopulate.php",
success: function( data ) {
result= data;

dynamicContentObject['shape'] = result.shape;
dynamicContentObject['color'] = result.color;

var line = ich.sampleLine(dynamicContentObject);

It would be before clicking Populate button:

After clicking Populate button, it would look like:

icanhaz website is: icanhaz