在jQuery中显示和隐藏消息 [英] Show and hide message in jQuery
本文介绍了在jQuery中显示和隐藏消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要从代码后面调用jQuery,这将在一定间隔后显示文本和隐藏文本.
我正在从后面的代码传递文本.
我是用Javascript完成的,但是文本应该消失,而Javascript缺少效果.
请帮忙.
非常感谢.
I have the requirement to call jQuery from code behind which will show a text and hide a text after certain interval.
I am passing text from code behind.
I did it with Javascript but the text should disappear with effects that is lacking in Javascript.
Please help.
Many thank.
推荐答案
尽管我们需要更多信息来回答这个问题,但您是否尝试过以下方法:
http://api.jquery.com/fadeOut/ [ http://www.w3schools.com/jquery/eff_fadeout.asp [
Although we need more information to answer this question, have you tried this:
http://api.jquery.com/fadeOut/[^]
http://www.w3schools.com/jquery/eff_fadeout.asp[^]
hope it helps :)
检查这些
进行成功消息的显示和隐藏提交表单后 [隐藏一个单击时提交按钮,并使用jQuery和asp.net显示加载消息 [ jQuery显示隐藏5秒钟的 [如何在jQuery中显示加载微调器? [
Check these
Making a Success Message Show and Hide after a Form Submission[^]
Hide a submit button when clicked and show loading message using jQuery and asp.net[^]
jQuery show for 5 seconds the hide[^]
How to show loading spinner in jQuery?[^](Some alternative solutions)
这篇关于在jQuery中显示和隐藏消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文