Help please. Span array with id. how to get value?
codehtml
<span id="jprc55[]" name="jprc55[]">1.00000</span>
<span id="jprc55[]" name="jprc55[]">2.00000</span>
<input type="button" value="Add Product Job" onclick="testget();" />
script
function testget()
{
var jjj = "";
jjj = $('span[id="jprc55[]"]')[0].html();
alert(jjj);
}
what goes wrong?.... please anybody can help me with this?
thanx very much before..