Small problem. Easy Solution!
I am trying to change the colSpan of every td element to 3. Why doesn't this work? This is just a part of my code; I know this would be useless alone.
Here is my code:
<script>
$(document).ready(function() {
$('td').attr('colSpan',3);
})
</script>