HTML5/Design | Techbirds | Page 3
Some times we got a situation in which we have to access some specific table row
$(‘#firstTable tbody tr:nth-child(3).html(‘
To access nth table data
$(‘#first_Table tbody tr).find(‘td:nth-child(2)’);
$(‘#first_Table tbody tr).find(‘td:nth-child(2)’); |
To access each row of table
var rowCount = $(‘#first_Table tr’).length; //will count number of rows in table var i = 1; $(‘#first_Table tr’).each(function() { $(‘#first_Table tbody tr:nth-child(‘+i+’)’).find(‘td:eq(3)’).append(‘Some Text Goes Here’); i = i+1; });
var rowCount = $(‘#first_Table tr’).length; //will count number of rows in table var i = 1; $(‘#first_Table tr’).each(function() { $(‘#first_Table tbody tr:nth-child(‘+i+’)’).find(‘td:eq(3)’).append(‘Some Text Goes Here’); i = i+1; }); |
Count
Read More →
5,575 total views, 6 views today
Today I am presenting you some trick in jQuery. Some times we have a situation to Clone a table in HTML into another table. We can find lots of solution on web but what if the table also contain some input fields and whatever we filled in the first table to be displayed as it
Read More →
1,296 total views, 2 views today
This might be a old topic. But still, it will be useful for the beginners. Using jQuery we can achieve this, The preview action will be executed all in the browser without using Ajax to upload the image. Here is the example. The benefit of this is that we can display an uploaded image to
Read More →
1,108 total views, 2 views today
Firstly create a new document with the size 1900px X 1200px at a resolution of 72 px/inch. Take the Gradient Tool and open the Gradient Editor. Choose the Foreground to Transparent gradient. Apply the gradient from the top to down. Apply the next filter: Filter – Distort -Wave and choose the next settings: It’s the
Read More →
866 total views, no views today
Step 1 Create a new 1024 x 768 px document. Set the Foreground color to #f8cece, then use the Paint Bucket Tool to fill the canvas with that color. Create the text using the font Janda Manatee. Set the font color to #f12f2f, the font Size to 250 pt, and the Tracking value to 20
Read More →
966 total views, 1 views today