I want to get all fields that are located in a single class name, for example my code like.
If you want all the values into an array, you can do this:
var texts= $(".test .text-field").map(function() { return $(this).val(); }).get();