Assuming only one active element at a time and without further knowledge of your DOM hierarchy. $('.active').removeClass('active'); $(this). ... <看更多>
Search
Search
Assuming only one active element at a time and without further knowledge of your DOM hierarchy. $('.active').removeClass('active'); $(this). ... <看更多>
Because of that, it shouldn't also add that much code to jQuery. Accepting classes will align us more with the classList standard and aligning ... ... <看更多>
My guess would be that it's your updating of the cookie which isn't done before the postback to get the page, but you can use Fiddler to check if the cookie ... ... <看更多>