Further investigation it is the for loop which seems to cause the problem.
Any ideas why this might be, it was working okay.
Thanks
For completeness this is how it appears in the database
` if ( xmlhttp.status==200)
{
document.getElementById(“droptargethere”).innerHTML=xmlhttp.responseText;
var svg = document.getElementById(“droptargethere”).childNodes;
for(var i = 0; i < svg.length; i++) {
var element = svg[i];
if (element.localName == “div”) {
var rect = element.offsetTop;
var retID = element.id;
updTable (retID , rect , “/HagueWine/wp-admin/custom/”);
}
}
}
‘
Hi Having problems creating form to add record in table format. Have you managed this? If so how everything I try I end up with all fields in one line.
Thanks