HI
I have this js function for pulling out a couple of links which I want to add onclick handlers to... but IE can't find the rel attribute the way Im doing it, Im assuming it can another way, but I dont know how?!
this works in Chrome, but not IE... the category_links.length yields a fat 0.
function get_product_categories_links(){
var links = document.getElementsByTagName('a');
var category_links = [];
for(var x in links){
if(links[x].rel == 'link_category')
{
category_links.push(links[x]);
}
}
return category_links;
}