Top Solutions

C sharp partial class

When working with large projects, partial class splits the class for multiple programmers to work on it at the same time.

If cdn down google hosted jQuery fails?

In some countries, google, hosted query might be banned we must want to prevent errors. The following code will check jQuery is loaded or not. It is not loaded than jQuery script will be loaded from our web server.

How to add row number dynamically to jQuery datatable?

In this example, I will show you to add a row number dynamically to jQuery datatable.I used jQuery datatable for binding grid, before I was struggled with adding row numbers in the first column to the table. Now I fixed the issue; it is working fine.

Sqrt math function in jQuery?

In this example I will show you to perform square root for the given numbers using Sqrt math function in jQuery. I stored list of numbers in an array variable and loop each element in the array and perform square root from its value.$.map(). The $.map() method will takes the array and callback method as argument.

JQuery combine arrays

In this example I will show you to combine arrays in jQuery using .merger method. It takes the second array elements and appends with the first array.