Category - Arrays
Results 11 - 15 of 28
11 Jan 2019 11 Jan 2019 0 Comments  5704 Views
Here Mudassar Ahmed Khan has explained with an example, how to get multiple selected (checked) CheckBox values as Comma Separated String 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 as Comma Separated String using JavaScript Alert Message Box.
11 Jan 2019 11 Jan 2019 0 Comments  16884 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  32325 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 1 Comments  31781 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  4697 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.
Results 11 - 15 of 28