Posted on Leave a comment

jQuery roadblock

jQuery problem:

<table>
<tr><td>one</td><td>two</td><td>three</td><td><a class=”foo” href=””>click me first</a></td></tr>
<tr><td>one</td><td>two</td><td>three</td><td><a class=”bar” href=””>click me second</a></td></tr>
</table>

What jQuery would allow me to click on "click me second" and change the color of the text "click me first"?

It’s a little more complicated than that. The real source has a plus image on the first row. Once you click that I use .hide() to make the plus go away. I create the 2nd row which has a minus image and a plus image. If you click the plus image, it disappears and creates a third row. The minus image, should 1st) cause the immediate plus image above it to appear 2) then disappear its own row. All plus images have a class of "addrow" and minus images have a class of "deleterow" I thought prev() would be doing it but I get nothing. Specifically .prev(‘.addrow’).show();

Posted on Leave a comment

See that mountain over there? One of these days…

Smoky Mountains

We have these astounding mountains in our backyard. A mere 45 minute drive deposits us in a little peace of Heaven. This past Saturday we took a day with the family and visiting relatives to enjoy nature and splash in the stream at the Chimney Tops picnic area. It was a fantastic day! See Cathy’s pictures.