Looking to hide specific text when/if it happens to get populated on a page Unsure of how to do this
var str = "Lease from 0%* or 0%*"; if( str.search("e") > 0) { //apply css to hide the above string if found on page }
Aucun commentaire:
Enregistrer un commentaire