![]() |
How do hide a column using JQuery?
Want to hide specifically two columns in a table using JQuery. The following code to do it:
$(".classname").hide(); But the thing is the same class name is used in all other columns in that table. So all the columns are getting hidden when I execute this JQuery. Is there any other way to hide only those two columns? |
Hi Jack,
you can use :nth-child() Selector in jQuery. $(document).ready(function() { $('tr td:nth-child(1)').hide(); } Where 1 is the column number to be hidden. |
free project for computer engineering student
here i know some of the project that help you in building, creating, submitting project. free to download and use this project as final year project. __________________________________________________ ________ http://siteownersforums.com/t53434-design-patterns.html project download | php projects free download | vb projects | mini project in java with source code | project on library management system | student attendance management system project in php | round robin algorithm in c | online voting system project http://siteownersforums.com/t53434-design-patterns.html http://siteownersforums.com/t57252-b...va-applet.html |
$(".classname").hide();
|
All times are GMT -7. The time now is 04:09 PM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.