Search code examples
javascriptjqueryhtmlmarkup

Get table column by Jquery


I need to make "bold" the second column of this html table:
http://jsfiddle.net/beKC4/4/

How can I do using JQuery?
I tried this but is not working:

$("h3.ms-standardheader").children("td").text("<b>"+this.text()+"</b>")

Solution

  • you can also use css

    see here http://jsfiddle.net/beKC4/6/

    table tr td:nth-child(3){
        font-weight:bold;
    }