function functiont(){
var a = document.getElementById("q").value;
var b = a.toLowerCase();
var x = b.search("news"||"headline"||"headlines");//is this possible?
if(x != -1){
$("p").text("here are the results");
} else{
$("p").text("sorry");
}
Is the following thing possible or I have to create more variables and search for all the keywords?