Hi, i'm urgently looking for a simple [ value here ]( button ) form that creates a new <div>value</div> when submitted. Each new div box should then display the value of the form field and also have a close [x] button.. Anyone can give me a start ?
function CreateDIV(txt) { var div = document.createElement("div"); div.style.width="30px"; div.style.height = "30px"; div.style.fontSize = "10px"; div.style.marginTop="2px"; div.style.marginRight="2px"; div.style.backgroundColor="#ffffff"; var txtNode = document.createTextNode(txt); div.appendChild(txtNode); return div; }
thanks for help unigogo, i'm looking into AJAX window samples now, but i also need to have these boxes/windows created by URL, like domain.com/item1-item2-item3, but $15 would be as much i could pay for it.. :/