?????
<form>
Price<input type="radio" value="_price" name="sort">
Color<input type="radio" value="_color" name="sort">
Size<input type="radio" value="_size" name="sort">
</form>
<script src="https://code.jquery.com/jquery-latest.min.js"></script>
<script>
$("input:radio").click(function() {
$("form").submit();
});
$("form").on("submit", function(e) {
console.log("submit");
var data = new FormData(e.target);
var output = "";
for (var entry of data) {
output = entry[0] + "=" + entry[1] + "\r";
};
console.log(output);
e.preventDefault();
});
</script>