Przejdź obiekt w JavaScript OnClick

<input type='button' onclick='showTransreqForm( result.productsArray[i])' value='Go'
Happy Hare