[Solved] Getting the id and values of a textbox [closed]


$(document).ready(function(){
    $('input#receive').click(function(){
          $('input[type=text]').each(function() {
               var input_value = $(this).val();
               var input_id = $(this).attr('id');
               alert('Value: ' + input_value + ', ID: ' + input_id);
          });

    });
});

1

solved Getting the id and values of a textbox [closed]