Click here to Skip to main content
15,879,326 members

Comments by Andrews Smith (Top 5 by date)

Andrews Smith 6-Mar-13 18:55pm View    
You're making it seem like you can't play a video on a html5 canvas? But you can but the term is draw..
Andrews Smith 4-Mar-13 12:09pm View    
My code looks like this using your example above:

<table id="dynamictable">
<tbody>
<tr>
<td class="name">My Favorite book</td>
<td class="quantity">x 20</td>
<td class="unit_price">£8.99</td>
<td class="total">£179.80</td>
<td class="remove">
<img src="image/cross.png">
</td>
</tr>
</tbody>
</table>

$('#buttonId').click(function()
{
string htmlRow="<tr><td class="name">My Favorite book2</td></tr><table><tbody><tr><td class="quantity">x 20</td></tr></tbody></table><table><tbody><tr><td class="unit_price">£8.99</td></tr></tbody></table><table><tbody><tr><td class="total">£179.80</td></tr></tbody></table><table><tbody><tr><td class="remove"><img src="image/cross.png"></img></td></tr>";
$('#dynamictable>tbody').append(htmlRow);
}
Andrews Smith 4-Mar-13 12:09pm View    
That wouldn't work. Just came up with this instead...



My Favorite book x 20 £8.99 £179.80 $('#buttonId').click(function() { string htmlRow="My Favorite book2
x 20
£8.99
£179.80
"; $('#dynamictable>tbody').append(htmlRow); }
Andrews Smith 17-Feb-13 12:03pm View    
What do you mean? Also will this increase the smoothness?
Andrews Smith 17-Feb-13 12:03pm View    
You defiantly look to know what you're talking about and thanks for your help.The timer that I've used is the one from the toolbox.

Could you please show me an example how you would do this? (if that's too much work I understand) Its just what you're describing is currently beyond my understanding.