I have a div that looks like this:
<div class="Block Moveable Panel AddToWishlistLink" id="SideProductAddToWishList" style="display:">
<div class="BlockContent">
<form name="frmWishList" id="frmWishList" action="null" method="get">
<input type="hidden" name="action" value="add" />
<input type="hidden" name="product_id" value="117" />
<input type="hidden" name="variation_id" value="" class="WishListVariationId"/>
<input type="submit" class="wishlist-button" value="Add to wishlist" alt="Add to Wish List" />
</form>
</div>
I need a JavaScript that can take the value of product_id, what ever it might be and input to a hidden input with the name and ID of "FormInput528" so that the value of said hidden input is changed to, in this case, 117. I am still VERY new to JS so any help would be amazing! Thank you!