Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- get variables from different objects in json


dupalo - 8:20 am on Aug 1, 2012 (gmt 0)


Hi thanks for that, yes the prices and images are in the same order, but in the html neither the <a> nor the actual image have an id.
So, I believe, I could do this rather
$(".vehicle_row a").each(function(){
var price = my_data.Range.SmallFamily[this].price;
and remove the id. WOuld that work do you reckon?
thanks


Thread source:: http://www.webmasterworld.com/javascript/4480672.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com