How to use jquery error(red) icons
        Posted  
        
            by 
                Kuntal Basu
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Kuntal Basu
        
        
        
        Published on 2011-01-05T10:40:33Z
        Indexed on 
            2011/01/05
            10:53 UTC
        
        
        Read the original article
        Hit count: 539
        
I have a span like this
<span class="ui-icon ui-icon-circle-close"></span>
which gives display a close icon of color same as the theme color.
But want to use the red icons which are available for the error. Which jquery class should I use for that.
I have a span like this
<span class="ui-icon ui-icon-circle-close"></span>
which gives display a close icon of color same as the theme color.
But want to use the red icons which are available for the error. Which jquery class should I use for that.
I found a class in Jquery css
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon 
{background-image: url(images/ui-icons_cd0a0a_256x240.png); }
this image is the image which contains jquery red icons . But I cant use it.
© Stack Overflow or respective owner