{"version":"1.0","type":"rich","title":"$.loadTmpl","description":"This example demonstrates a lightweight jQuery plugin that loads an external HTML template and injects it into the document head as a script tag with a custom type. It uses the jQuery `$.get` method to fetch the template content, then appends it using the `$(\"head\").append()` API. The plugin assigns the template a user-specified id and type `text/template`, making it available for client-side rendering without executing the content. The code shows a simple, reusable pattern for loading templates dynamically, relying on jQuery’s AJAX and DOM manipulation functions.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-1144307?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}