File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Question about first-child JQuery selector
clojure forum advocate
Joined: Nov 08, 2003
Nov 17, 2009 07:22:57
I'm reading the second chapter of "JQuery In Action"
To get languages names, this selector is used:
table#languages tbody td:first-child
tbody contains four <tr> and each <tr> contains three <td>
Why the previous selector get the first <td> of each <tr>?
Joined: Nov 08, 2001
Nov 17, 2009 08:54:48
Not sure if this answers your question:
matches only a single element
matches an element for each of its parents
I agree. Here's the link:
subject: Question about first-child JQuery selector
HTML table to JSF table
Creating CSS class at runtime
Need Help with Jquery Selector logic
How do I update table using postJSON
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015