In my JSON javascript live pull I have:
html += "<tr><td width=60 valign=top><a href='"+item.url+"' target='_blank'>"+item.site+"</a></td>";
The += seems to strip out my tr td values
So I tried amending it to = which just seems to fail.. I tried setting td as a var and still no luck
Any ideas of a way round this, my js is basic so even if you think its silly your answer could help me greatly..
EDIT
to confuse things things further the = alone works in Firefox but on IE the items are loading hidden in the background.. I don’t get why the browsers would perform so differently over the use of one + sign…
x += yis just a shorthand forx = x + y. If you change it tohtml = "...", you’d be overwriting anything that already existed in thehtmlvariable.How are your “tr td values” being stripped?