how to clear the text field in javascript code example
Example: clear textbox js
function name()
{
document.getElementById('elementid').value = "";
}
function name()
{
document.getElementById('elementid').value = "";
}