I am still learning jQuery and the selector bit is incredibly useful, but I still don’t understand it perfectly well.
I have a table with id=table1, and I want to select all td’s in this table.
(really I want to wrap the text within each td with a div with overflow:hidden so I can force the cell heights to be uniform.)
What’s the appropriate syntax for the jQuery (javaScript?) selector?
Any links to awesome selector tutorials are also welcome.
The following should do the trick
and add a css rule in your stylesheet
For completeness here is the documentation about
wrapInner()