Category - Arrays
Results 11 - 15 of 25
11 Jan 2019 11 Jan 2019 0 Comments  10326 Views
Here Mudassar Ahmed Khan has explained with an example, how to get multiple selected (checked) CheckBox values in Array using jQuery.

When the Get Button is clicked, the CheckBoxes will be referenced and if the CheckBox is selected (checked) then its value will be inserted into an Array.

Finally, the values of the selected (checked) CheckBoxes inside the Array will be displayed using JavaScript Alert Message Box.
11 Jan 2019 11 Jan 2019 0 Comments  19405 Views
Here Mudassar Ahmed Khan has explained with an example, how to get multiple selected (checked) CheckBox values in Array using JavaScript.

When the Get Button is clicked, the CheckBoxes will be referenced using a loop. Inside the loop if the CheckBox is selected (checked) then its value will be inserted into an Array.

Finally, the values of the selected (checked) CheckBoxes inside the Array will be displayed using JavaScript Alert Message Box.
19 Nov 2018 19 Nov 2018 0 Comments  22006 Views
Here Mudassar Ahmed Khan has explained with an example, how to post Array of objects from View to Controller in ASP.Net MVC Razor.

Records will be dynamically added to the List of objects on Button click using jQuery and later these records will be posted to Controller’s Action method using jQuery AJAX in ASP.Net MVC Razor.
19 Nov 2018 19 Nov 2018 0 Comments  2995 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) String Array from Controller to View in ASP.Net MVC Razor.

The String Array will be passed (sent) from Controller to View as Model in ASP.Net MVC Razor.
12 Sep 2018 14 Sep 2018 0 Comments  7472 Views
Here Mudassar Ahmed Khan has explained with an example, how to read CSV File using AngularJS and HTML5 File API.

The CSV file (Comma separated Text file) will be selected in HTML FileUpload element and will be read using HTML5 FileReader API.

The read data will be parsed into a JSON Array which will be later used to populate a HTML Table using ng-repeat directive in AngularJS.
Results 11 - 15 of 25