$(\'#buttonadd\').click(function(){
if ($counter < 10)
{
$counter++;
$countonlyadd++;
$(\
Looks like you are adding a tr
directly into which is not a valid html in any browser. Other browsers will not shout but IE will. Try this.
Working demo
Markup change
JS change
$('#buttonadd').click(function(){
if ($counter < 10)
{
$counter++;
$countonlyadd++;
$('#buttondiv table').append(' [X] ');
}else{
}
$('#send_count').val($countonlyadd);
});