Here is my code:
Printing from $10
You need to use the each function:
$("li.det_price a").each(function(index, Element){ //Element holds the current anchor, manipulate it's contents at will $("Element").val("some new value..."); })