reggiejohn — 2013-07-23T23:19:50-04:00 — #1
Is it possible to do a HTML todos list? I hear it requires database or some way of storing the info.
I want to Make a simple html page to manage Todos. It should have an input field. When the user enters text in the input field, show that input in the page. When an existing item is clicked, it should disappear from the page.
var input = document.getElementById('post').value;
document.getElementById('this').innerHTML += " " + input;
<p onclick='remove()' id="this"> </p>
<input type='text' id='post'/>
<input type='button' onclick='addText()' value='Enter Text'/>
Why is when I click the previous post it deletes the entire Paragraph instead of just one at time when click. and also once I delete something it doesn't allow me to re post
I want to make it so onclick with the mouse on the input text it deletes it from the rows and then allow me to repost something. someone help me please.
itse1306 — 2013-07-24T12:31:59-04:00 — #2
Then scroll to the bottom of the page and you'll find something very close to what you are looking for. It will be fun to make modifications to it to make it do what you want. It uses list items, but you can easily adjust accordingly to suite your needs.
markbrown4 — 2013-07-25T01:45:51-04:00 — #3
You should checkout http://todomvc.com/ which shows how to build a todo app client-side using all of the popular frameworks.
It's possible to do it without a framework but it will not be as elegant as some of those.
solidcodes — 2013-07-25T08:38:20-04:00 — #4
Try developing Todo app with XML.