String.format in JavaScript

In this tutorial, I show you how to format string in JavaScript. There is no direct equivalent method like string.format in JavaScript similar to C# but the same can be achieved by creating the string prototype method. Suppose we have one string where {0} and {1} placeholders need to be replaced with some string literalsIn this tutorial, I show you how to format string in JavaScript. There is no direct equivalent method like string.format in JavaScript similar to C# but the same can be achieved by creating the string prototype method. Suppose we have one string where {0} and {1} placeholders need to be replaced with some string literals […]

Read More…

Capitalize first letter using JavaScript

In this tutorial, I show you how you can capitalize the first letter of the string. JavaScript provided several methods for string manipulation and there are different ways that can be used to capitalize the first letter of the string using JavaScript. Capitalize the first letter using javascript required a little bit of code butIn this tutorial, I show you how you can capitalize the first letter of the string. JavaScript provided several methods for string manipulation and there are different ways that can be used to capitalize the first letter of the string using JavaScript. Capitalize the first letter using javascript required a little bit of code but […]

Read More…

Compare location.href vs location.replace vs location.assign and window.open

During client-side development, you come across the situation where you have to redirect from one webpage to another webpage. Javascript provides several ways to redirect to a page and below properties/method are used to redirectDuring client-side development, you come across the situation where you have to redirect from one webpage to another webpage. Javascript provides several ways to redirect to a page and below properties/method are used to redirect […]

Read More…

SharePoint Search REST API with Example

In this tutorial, I show you how to fetch data from the SharePoint Search REST API with Example. We look at how to use different methods, parameters that search rest API support – SharePoint Search is very power full and enables users to find relevant data based on their search query. Search indexed the contentIn this tutorial, I show you how to fetch data from the SharePoint Search REST API with Example. We look at how to use different methods, parameters that search rest API support – SharePoint Search is very power full and enables users to find relevant data based on their search query. Search indexed the content […]

Read More…

String in PowerShell- Compare, Concatenates, LastIndexOf

In this tutorial, we learn how to use different string manipulation methods used in PowerShell. Using these methods string in PowerShell can be converted or changed to the desired output. Below is the list of all string methods used by PowerShell. The string is one of the datatypes used in PowerShell it is nothing butIn this tutorial, we learn how to use different string manipulation methods used in PowerShell. Using these methods string in PowerShell can be converted or changed to the desired output. Below is the list of all string methods used by PowerShell. The string is one of the datatypes used in PowerShell it is nothing but […]

Read More…

How to add !important to CSS property using jQuery

In this tutorial, I show you how to add !important to CSS property using jQuery. When you have to increase the priority of any style property in CSS important keyword is used.

The important property overrides the existing style on the element and force to apply the important style. To mark any style as important the “!important” keyword is used immediately before the semicolon like below.In this tutorial, I show you how to add !important to CSS property using jQuery. When you have to increase the priority of any style property in CSS important keyword is used.

The important property overrides the existing style on the element and force to apply the important style. To mark any style as important the “!important” keyword is used immediately before the semicolon like below. […]

Read More…