title: JavaScript/jQuery: How to make a task list with a running point value
body: <p>I'm not sure how best to describe my problem in a single title, so I hope that makes a little bit of sense.</p>
  
  <p>Let me explain what I'm trying to do. I want to create a task list widget. Users write a description of the task in one <code>&lt;input&gt;</code> field, and then select a point value for that task from a <code>&lt;select&gt;</code>. Upon clicking a "Submit!" button, a new item is added to an unordered list below with jQuery, containing both the task description and the point value. When users click on an item in the list, it is removed, and its associated point value is added (dynamically, using jQuery again) to a total score, which is displayed in a <code>&lt;div&gt;</code> that's <code>fixed</code> to the corner.</p>
  
  <p>I'm not having any problem making the form or adding items to the list. What's stumping me, however, is <strong>how to add the point value when a task is clicked.</strong></p>
  
  <p>I feel like this is something where a Task object, with parameters "name" and "pointValue" could be useful, but I can't exactly figure out how. I can make the object, sure, but how do I somehow associate it with the HTML that's added to the page so that when it's clicked, it adds its point value to the total? Or is this entirely the wrong way to go about it?</p>
  
  <p>You can see my current progress <a href="http://jsfiddle.net/8L25m/8/" rel="nofollow">here</a>. Like I said, I can figure out how to make most things work--just not the points system.</p>
  
  <p>Any and all help would be appreciated. I'm new to jQuery and JavaScript, so try not to rain <em>too</em> much fire down upon me if I'm making dumb mistakes. ;)</p>
  
  <p>Thanks.</p>