My code contains these lines :
$(":text[placeholder], :password[placeholder]").each(function(){
//some code
});
It is working fine on chrome and ff but getting the below error in IE8 .
Object doesn't support this property or method
How can I fix this ?