Hi
In below code in place of btnPush i want dropdown list with 1,2,3,4,5,6,7 & so on values till 12.
Thanks
Hi
In below code in place of btnPush i want dropdown list with 1,2,3,4,5,6,7 & so on values till 12.
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ali BenchaabanRank #925 · 2.2K reputationPosted Mar 29, 2023, 10:00 AM EDT
Hello Ramco,
HTML :
JS :
var select = ''; for (i=1;i' + i + ''; } $('#some_select').html(select);BENCHAABAN Ali
Rajkiran SwainRank #165 · 14.4K reputationPosted Mar 29, 2023, 4:18 PM EDT
$(document).ready(function() { $('#tblData').on('click', '.btnSave', function() { var number = $(this).closest('tr').find('.number-dropdown').val(); console.log(number); // Perform AJAX call to save the data }); }); Name Age Number John 30 1 2 3 4 5 6 7 8 9 10 11 12