I see where you're changing background colors, but where are you trying to
change colspans?
untested, but
$('myTDelement').attr('colspan', x);
... where 'x' is the numeric value, should work.
also, it's criminal to use document.getElementById() within jQuery.
$('#element') is so much more
I am trying to change the colspan attribute on some table cells when
the user clicks on a button but it is not affecting the table. Perhaps
someone can tell me what I am doing wrong. Here is my jQuery code:
<
$(document).ready(function() {
$('#plusSign').click(function(){
$('.ba_toggle').
I am trying to change the colspan attribute on some table cells when
the user clicks on a button but it is not affecting the table. Perhaps
someone can tell me what I am doing wrong. Here is my jQuery code:
<
$(document).ready(function() {
$('#plusSign').click(function(){
$('.ba_toggle').
3 matches
Mail list logo