---
title: "Jquery 1.10 toggle() Deprecated 替代方法"
author: "jis117"
date: "2013-10-24T21:35:30Z"
tags: []
categories: ["Web前端"]
slug: "jquery-1-10-toggle-deprecated"
draft: false
lastmod: "2013-10-24T21:35:30Z"
id: 1964222
url: "https://jis117.iteye.com/blog/1964222"
---

\[code="html"]

DIV1

\[/code] \[code="javascript"] if($("#mDiv").is(":hidden")){ $(this).show(); }else{ $(this).hide(); } \[/code]