How to POST an array of objects with $.ajax

Base on earlier post which I talk about JSON. Here is the application part. Imagine you have an array of objects from client side need post back to server side for processing. JSON.stringify can do the trick of sending the array back to server side. Remember to put it before sending it.    

JSON Method

I came across a scenario in my work place where I need to use client script WebService REST message to call a MID server to get result from the actual server which is behind the firewall. However, this time I will just share how I use client script to get the results and assigned them …

Continue reading JSON Method

Binding Bootstrap Dual ListBox with ASP.NET MVC

I have use duallist box from  to populate list of staff entity from controller that come back from a json request. To load unselected and selected staff at the same time and display the unselected staff on the left side of dual listbox while selected one on right side. In html: In content:  <%: Styles.Render( <%: …

Continue reading Binding Bootstrap Dual ListBox with ASP.NET MVC

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: