隐藏/显示不在chrome中工作。 [英] Hide / show not working in chrome.
本文介绍了隐藏/显示不在chrome中工作。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这里我用一些javascript来输入字段隐藏和显示。它在Firefox中运行良好,但不适用于chrome。在我的代码下面你的refferrance。
请访问此链接:编辑小提琴 - JSFiddle [ ^ ]
我尝试过:
Here i some javascript use to input field hide and show. It work in firefox well, but not working on chrome. Below my code to your refferrance.
Please visite this link: Edit fiddle - JSFiddle[^]
What I have tried:
$("#other-school").hide();
$("#other").click(function(){
$("#other-school").show();
});
$("#school").click(function(){
$("#other-school").hide();
});
推荐答案
( #other-school)。hide();
("#other-school").hide();
( #other)。点击( function (){
( #other-school)。show();
});
("#other-school").show(); });
这篇关于隐藏/显示不在chrome中工作。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文