用于检查图像控件的jquery(在C#中) [英] jquery for checking the image control (in C#)

查看:46
本文介绍了用于检查图像控件的jquery(在C#中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿..我有一个图像控件..我需要检查图像控件是否有图像... Plz给我jquery或javascript ...

解决方案

 


#dgImages)。find(' img')。each(function() {
if


this )。 ' :visible')) {
alert( 此图片可见);
}
});


hey ..I have a image control..I need to check whether the image control has image or not ...Plz give me jquery or javascript for that ...

解决方案


("#dgImages").find('img').each(function(){ if(


(this).is(':visible')){ alert("This image is visible"); } });


这篇关于用于检查图像控件的jquery(在C#中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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