I am having trouble with a specific peice of javascript. my code should find a specific letter in the textarea, chosen and writen by a person. I need help counting my specific characters.
function search(){
var s= document.getElementById("find").value;
document.getElementById("letter").value= s;
var t= document.getElementById("text");
var c= document.getElementById("find").text;
}
(this is my current code)