Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(){
- $('table.rep').each(function(){
- $(this + ' tr').each(function{
- // change style of this tr
- });
- });
- });
- $(document).ready(function(){
- $('table.rep').each(function(){
- $('tr', this).each(function{
- // change style of this tr
- });
- });
- });
- $(document).ready(function(){
- $('table.rep').each(function(){
- $(this).find('tr').each(function{
- // change style of this tr
- });
- });
- });
- $('table tr').each(function(){
- // change tr style
- });
- $('table.rep tr').each(function(){
- ...
- });
- <script>
- $(document).ready(function () {
- $('table.rep').each(function () {
- $(this).find('tr').each(function () {
- // Do your stuff
- });
- });
- });
- </script>
Add Comment
Please, Sign In to add comment