how to identify input text by placeholder in html using jQuery

How to get or set input text value in html using jQuery by placeholder

For Set

  $('#example tfoot input[placeholder="Number"]').val($(this).val());

For Get

$('#example tfoot input[placeholder="Number"]').val();


Leave a Reply