Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

i need dynamic dropdown bind and dropdown on change sample code or web link in knockout with MVC C#.


here sample code:

C#
function funcqty(vArry) {
    debugger;
    var self = this;
    self.Qty = ko.observableArray(vArry);
    self.selectedProject = ko.observable();

    self.selectionChanged = function () {
        debugger;
        alert('change');

        var qty = self.selectedProject().Text;
        var dcode = self.selectedProject().Value;
  
    };
};


the above code not working.pls help asap.
Posted
Comments
ridoy 29-Dec-14 9:45am    
your question isn't clear.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900