Is this a valid jquery conditional statement?

Posted by Pandiya Chendur on Stack Overflow See other posts from Stack Overflow or by Pandiya Chendur
Published on 2010-05-20T04:18:45Z Indexed on 2010/05/20 4:20 UTC
Read the original article Hit count: 194

Filed under:
|
|
 if (tag == 'td' && $(this).hasClass('status')) {
        // I am clearing everything inside the td with class status
        $(this).html('')
    }

But it doesn't seem to clear... Any suggestion...

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about conditional