I am trying to make a Chrome extension so that when I open a new tab, it is a simple page where I can make a list of To-Do's.
<!DOCTYPE html>
<html>
<head>
<script src="indexdb.js"></script>
</head>
<h2 id="toc-final">To Do List</h2>
<ul id="todoItems"></ul>
<input type="text" id="todo" name="todo" placeholder="What do you need to do?" style="width: 200px;">
<input type="submit" id="newitem" value="Add Todo Item" onclick="addTodo(); return false;">
</html>
I am using the javascript from http://jsfiddle.net/unclelongmao/VrS32/
My new tab has the text input box, but when I press the submit button, nothing happens. I am not sure why this is happening.