如何隐藏和取消隐藏asp.net网页中的特定框架 [英] how to hide and unhide the particular frame in asp.net web page
本文介绍了如何隐藏和取消隐藏asp.net网页中的特定框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<大家好,
我的网页上有2个框架,如果我点击图片按钮(隐藏),必须隐藏特定的框架,反之亦然。
如果你们中的任何人帮我解决这个问题会很棒。
解决方案
如果您的图片按钮ID是 img-button ,而且框架ID是框架这是代码。
< pre lang =Javascript>< script>
( document )。ready( function (){
( #img-按钮)。点击(功能(){
< Hi Everyone,
I have 2 frames in my webpage and if i click on the image button(hide) that particular frame must be hided and vice-versa.
It would be great if anyone of you help me out with this.
解决方案
If your image button id is img-button and frame id is frame the this is the code.
<script>
(document).ready(function() {
("#img-button").click(function() {
这篇关于如何隐藏和取消隐藏asp.net网页中的特定框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文