[jQuery] Why doesn't this render the page correctly?

2009-12-18 Thread davec
I am trying to dynamically change the colspan attribute on a group of cells using the code below: script type=text/javascript $(document).ready(function() { $('#plusSign').click(function(){ $('.ba_toggle').toggle(); if($('#plusSign').attr('src')=='../Images/

[jQuery] Changing colspan with jQuery

2009-12-17 Thread davec
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: script type=text/javascript $(document).ready(function() {

[jQuery] Changing colspan with jQuery

2009-12-17 Thread davec
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: script type=text/javascript $(document).ready(function() {

[jQuery] Re: Changing colspan with jQuery

2009-12-17 Thread davec
() {                     $(this).attr('bgColor','green');                 });                }            });     }); /script On Thu, Dec 17, 2009 at 11:23 AM, davec dcah...@hyphensolutions.com wrote: I am trying to change the colspan attribute on some table cells when the user clicks on a button

[jQuery] Locking Column Heading or Locking Columns in a table

2009-12-15 Thread davec
When locking the column heading or locking a column on a scrollable table, I generally use code like the two following css parameters but I cannot figure out how to do this via jQuery. Could someone please give me a clue? To lock a column heading: