Conversaciones » Desarrolladores
How to make a greasemonkey script to automatically set seacrh field value to particular value?
replace ["thesearchbox"] by ("thesearchbox")
thanks it worked.
Conversaciones » Desarrolladores
replace ["thesearchbox"] by ("thesearchbox")
thanks it worked.
How to make a greasemonkey script to automatically set seacrh field value to particular value?
This is my code, which is not working:
var id=document.getElementById["thesearchbox"].value;
if(id==="") {
}
Here thesearchbox is the id of search field.