用于检查图像控件的jquery(在C#中) [英] jquery for checking the image control (in C#)
本文介绍了用于检查图像控件的jquery(在C#中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
( #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屋!
查看全文