Pass an HTML Attribute to another HTML Attribute onClick

Discussão em 'Angular' iniciado por Pururava, Abril 3, 2025.

  1. Pururava

    Pururava Guest

    I am using ng-repeat to display a list of items in the page. One of the columns allows user to select a choice, and then click on "Save" button.

    However, at the controller-function, I am unable to retrieve the user's choice. Is there any feasible manner to retrieve the selected check-box? For e.g. passing the selected-check-box value in the ng-click function as a parameter.

    Please let me know any best feasible approach. Thank you.

    A user can select from Checkbox (or drop-down): Bike or Car enter image description here

    Continue reading...

Compartilhe esta Página