As with JQ/JS to select all textarea, which initially has something written?

Hello, on the page there are a lot of textarea, some of them empty, some initially something there.
As with JQ/JS (preferably jquery) to select only those elements that are NOT empty and to only ask them, for example a blue border?
July 9th 19 at 13:18
1 answer
July 9th 19 at 13:20
Solution
Approximately
$(document).on('ready', function(){
$('textarea').each(function(textarea){
 if($(textarea).val() !== "){
 $(textarea).css({'border-color': 'blue'});
}
}
}
will try, thanks - zetta commented on July 9th 19 at 13:23
all customized to fit your needs, it works, thank you very much - zetta commented on July 9th 19 at 13:26
please - Kameron_Hilpert34 commented on July 9th 19 at 13:29

Find more questions by tags jQueryJavaScriptCSSHTMLWeb Development