var h4 = document.createElement("h4");
h4.setAttribute("class", "ui-widget-header");
h4.innerText("Trash");
var a1 = document.createElement("a");
a1.setAttribute("class", "ui-icon ui-icon-zoomin");
a1.setAttribute("href", "testimages/" + images[i].firstChild.nodeValue);
a1.innerText("View Larger");
var span = document.createElement("span");
span.setAttribute("class", "ui-icon ui-icon-trash");
span.innerText("Trash"); |