Problem
I have the following code :
var data = "<li><b>${a}</b> (${b})</li>";
$.template( "compiledItem",data );
The instruction above is called "compilation of template" or "Caching a template " via jquerty template using String value as a identifier. (String =>'compiledItem')
When i modify markup value, i want to clear the cache
How Can i delete the template cache?
Solution
Add before compilation instruction the following instruction :
delete $.template["compiledItem"];







