I want to know if the textarea value contains a certain word. This is not working for me.
var value = $(\'#embedModal textarea\').val(); if($(value).contains(\'i
Try following code.....
code:
Something iframe Something var obj=$("textarea:contains('iframe')"); if(obj){ obj.css("background-color", "red"); }