Янковиц,
https://ruseller.com/jquery?id=8
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
</head>
<body>
<input type="checkbox" class="data" name="name1" value="1">
<input type="checkbox" class="data" name="name2" value="1" checked>
<input type="checkbox" class="data" name="name3" value="1">
<select id="select" class="data" name="select">
<option value="hello">Hello</option>
<option value="good">Good</option>
</select>
<script>
var arr = $('.data').serialize()
console.log(arr);
</script>
</body>
</html>