Using jQuery, we can use the following code:
Select by input name:
$('input[name="textboxname"]').val('some value')
Select by input class:
$('input[type=text].textboxclass').val('some value')
Select by input id:
$('#textboxid').val('some value')