Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7081615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:56:34+00:00 2026-05-28T06:56:34+00:00

I have an MVC3 webgrid where the first column is being hidden by jQuery

  • 0

I have an MVC3 webgrid where the first column is being hidden by jQuery with the following code as per this thread:

<script type="text/javascript">
//hide the first column in the result table
$(document).ready(function () {
    $('.webgrid thead th:nth-child(1)').hide();
    $('.webgrid tbody td:nth-child(1)').hide();
});

The code works great except for one thing. The header element doesn’t always get hidden if I navigate away from the page and come back by hitting the browser’s back button in IE9 (Chrome & Firefox don’t seem to have this problem). Interestingly, the td elements in tbody DO get hidden. I used jQuery 1.5.1 and now just tried 1.7.1 with no improvement. Refreshing the page fixes the problem. Any ideas why this is happening or how I should go about investigating what’s going on? Thanks!

Update

I took out the code that hides the column, and I STILL get the bug on the back browse!!! I tried cleaning out the cache and still the same. Where is this old broken page coming from? I tried IE in-private browsing and the problem went away, but when I came back to regular browsing the problem came back! I cleaned the cache 10 times! Why is it not working?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:56:35+00:00Added an answer on May 28, 2026 at 6:56 am

    So, it was a problem with the cache. IE9 has a checkbox to “preserve favorites website data” and I had that checked with all the other items. As soon as I unchecked it everything worked great! Reference this article for clearing cache.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an MVC3 project I created using the Code First paradigm and it
I have the following WebGrid in my ASP.NET MVC3 test application. It displays a
I have an MVC3 and EF 4 Code First application, which is configured to
I have an MVC3 Project running with EF Code First. Here is my code
Have you managed to get Aptana Studio debugging to work? I tried following this,
I have an MVC3 site and I am writing code to register a user.
I Have a little problem with WebGrid control for Asp.Net MVC3. What I want
I have an MVC3 application into which I'm integrating WIF. Before starting on this
I have an MVC3 application which has a reference to DLL. This DLL is
Does anyone have a working sample of json paging for mvc3 webgrid? I've been

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.