JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/dot-luv/jquery-ui.css">
<form>
    <input name="Product" value="value1" />
    <input name="Qty" value="50" />
</form>

JavaScript

var arr = $("form").serializeArray();
$.each(arr, function(i, fd) {
    if(fd.name === "Product") fd.value = "New Value";
});

var sendFormData = $.param(arr);
$("body").append(sendFormData);