This tip is a simple example to illustrate how the HTML5 CustomElements can be used to create a custom date tag which has the ability to show relative date (like '5 days ago', 'Next month', '5 years ago', etc.)
This is a quick note on "Chosen". It is a small light weight Javascript & CSS library that you can use to beautify your drop down boxes on your web pages.
Customizing breadcrumb in SharePoint 2013. This tip will work for SharePoint 2013 on-premise and online both. In SharePoint 2010, we had nice breadcrumb. In SharePoint 2013, we have only pop up breadcrumb. So let's bring it back!!
In Javascript if you want to access any control, the syntax would be like thisdocument.getElementById('');The alternative of this syntax while using Ajax is$get(''); Enjoy CodingMehul Thakkar
This article shows you how to expose the AngularJS controllers in order that they can work harmoniously with MVC controllers, and they can be loaded dynamically only when they are requested.
Here is a simpler version. Using the overload method[^](parameter addScriptTags), you can reduce the code.private void ShowMessage(string Message){ if (!ClientScript.IsClientScriptBlockRegistered("MyMessage")) { ClientScript.RegisterClientScriptBlock(this.GetType(), "MyMessage",...