How to use C# LinQ similar method in JavaScript

Below is a simple example to help understand the usage of the code: var arr = [ {name: 'a', val:1}, {name:'b', val:2}, {name:'c', val:3}, {name:'d', val:4}, {name:'e', val:5}, {name:'f', val:6}, ]; //jquery map var nm = $.map(arr,function(v){ return v.val; }); $("#box").html("jquery map: "+nm); //array map var nm = arr.map(function(v){ return v.val; }); $("#box2").html("array map: "+nm); …

Continue reading How to use C# LinQ similar method in JavaScript

Some JQuery tricks that usually needed to use it to retrieve, update and load items in drop down box

Set 1 of the values in drop down list as selected option in the UI: Retrieve selected Id or value to be process: To get list of objects to be load in the drop down list dynamically: