Behseini -2 Junior Poster

Hi every one,
Can you please let me know how I can use Jquery to append and remove data into a table by checking and unchecking html checkboxes?(Or any plugin for this?)
I would like to generate an online order invoice from the following checkboxes:

<fieldset>
<legend>Your Choice:</legend>
<input id="item1" type="checkbox" value="20.00" />
<label for="item1">DVD</label> 
<input id="item2" type="checkbox" value="30.00" />
<label for="item2">Bluray</label> 
<input id="item3" type="checkbox" value="5.00" />
<label for="item3">Book</label>
</fieldset>

Now I want to use jquery to generate an invoce table which can add lable and value(two columns) into the table for each checked chechbox or remove it (Something like following image:)
[IMG]http://geoca.persiangig.com/Order.png[/IMG]

I find these two example on the net but (The first example looks too similar to what I would like to do but with a table) but I couldn't figure out how to modify them?
http://jsfiddle.net/ek2zh/

http://jsfiddle.net/fRUUd/238/

Thanks for your time in advance

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.