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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s