Any help??
I have to add a row with some text boxes and a dropdownlist, dynamically on click of an AddRow button and the dropdownlist should list values from database.And on click of Submit button I want to send the values of all these controls to the controller.I have implemented this using all textboxes instead of one dropdownlist , using javascript and it works fine now I want to change one textbox to dropdown list.
$(".addbtn").click(function () {
var newRow = '
'
'
'
'
'
'
'
'
'
$('#myTable tr:last').after(newRow);
});
Now I want to use a dropdownlist instead of 'CreditTerm' textbox and it should list some values from database.
Any help ??please....
Jaganathan BantheswaranPosted Apr 3, 2014, 8:22 AM
There are many, check here
Example,
$('.dd').selectpicker();
Jaima JosephPosted Apr 4, 2014, 5:11 AM