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"];
Wow. This really made my day. Thanks a lot!
ReplyDeleteWow. This really made my day. Thanks a lot!
JQuery Training JQuery Training Javascript JQuery Online Training
JQuery Online Training JQuery Online Training Javascript Online Training JQuery Training
ReplyDeleteVery Interesting information shared than other blogs
Thanks for Sharing and Keep updating us
Thanks for sharing the info, keep up the good work going.... I really enjoyed exploring your site. good resource...
ReplyDeletePremium Whmcs templates
Thank you for sharing wonderful information with us to get some idea about that content. check it once through
ReplyDeleteMachine Learning With TensorFlow Training and Course in Israel
| CPHQ Online Training in Beirut. Get Certified Online
ReplyDeleteAnd indeed, Iam just always astounded concerning the remarkable things served by you. Some of the facts on this page are undeniably the most effective I have had.
Big Data Hadoop Training in Chennai
Advanced Linux Training in Chennai
Cloud Computing Training in Chennai
Top Software Testing Training in Chennai
Blue Prism Training in Chennai
Angularjs Training in Chennai
MCSE Training in Chennai
AI Training in Chennai
SEO Training in Chennai
Appreciating the persistence you put into your blog and detailed information you provide.
ReplyDeleteCss training in chennai | Css course in chennai
blue prism training in chennai| Blue prism training course in chennai
good....nice
ReplyDeletecategory/advocate-resume
category/agriculture-forestry-fishing
category/android-developer-resume
category/assistant-professor-resume
category/chartered-accountant-resume
category/database-resume
category/design-engineer-resume
category/developer-resume
category/engineer-resume
category/entrepreneur-and-financial-services-resume
Good job in presenting the correct content with the clear explanation. The content looks real with valid information. Good Work
ReplyDeleteDevOps is currently a popular model currently organizations all over the world moving towards to it. Your post gave a clear idea about knowing the DevOps model and its importance.
Good to learn about DevOps at this time.
DevOps Training in Chennai
DevOps Course in Chennai
Top power Bi Training institute in Hyderabad
ReplyDelete