Simple Parent/Next Issue

Simple Parent/Next Issue

Currently getting the value from a name field but with multiple products, I tried with next/previous but as I am new to this I am having issues, the code below kinda works but obviously not the desired result.

      $('[name=my-item-price]').each(function() {
var itemprice = $(this).val();
$('.price').text(itemprice);
});

<form method="post" action="" class="jcart">
<fieldset>
<input type="hidden" name="my-item-price" value="1495" />
<li>Price: $<span class="price"></span></li>
</fieldset>

<fieldset>
<input type="hidden" name="my-item-price" value="2345" />
<li>Price: $<span class="price"></span></li>
</fieldset>
</form>

Live Example:  http://www.vendingbeta.com/test2.php

Many Thanks