Welcome Guest, Not a member yet? Register   Sign In
for each looa for document.getElementById
#1

$('.remsubmit').click(function() {
                            var indexid= "<?=$indexid?>";
                            var name = $(this).prop('id');
                            var emailid = "<?=$emailid?>";
    var remarks="";
                           
                           
                          var x = document.getElementById("mySelect").selectedIndex;
                            var y = document.getElementById("mySelect").options;
                            remarks= y[x].text;
this insert onlydata from the first dropdown

is there a way i can loop through a crud list view and get each value of selected text/value of each dropdown based on the individual id of the listed view.
Reply


Messages In This Thread
for each looa for document.getElementById - by gidgor256 - 04-02-2021, 03:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB