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