Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ASP.NET Friendly Show/Hide in jQuery
jQuery.fn.aspHide = function() {
var elem = $(this[0]);'height', elem.height());
elem.css('visibility', 'hidden');
jQuery.fn.aspShow = function() {
var elem = $(this[0]);
elem.css('visibility', 'visible');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.