显示图像或加载消息。 [英] Show image or loading message.

查看:44
本文介绍了显示图像或加载消息。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友

我通过jquery发送参数从另一个页面获取数据。我想在从另一个页面加载数据期间显示加载图像或消息。我的代码如下。

hello friends
i am getting data from another page through sending parameter by jquery. i wamt to show loading image or message during data is loading from another page. my code is bellow.

$('.anchorclass').click(function(event) {
        event.preventDefault();
        $('#Div2').load($(this).attr("href"));
    });

< br $> b $ b

请帮我看看如何显示加载图片和消息。



please help me how to show loading image and message.

推荐答案

' 。anchorclass')。click( function (event){
event.preventDefault();
('.anchorclass').click(function(event) { event.preventDefault();


' #Div2')。load(


this )。attr(< /跨度> <温泉n class =code-string> href));
});
(this).attr("href")); });





请帮我看看如何显示加载图片和信息。



please help me how to show loading image and message.


这篇关于显示图像或加载消息。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆