Hey, help would be very much appreciated. How do I make an ifstatement so both of these fields "szValue" and "szPara" clear onSubmit? Thanks!
function submit()
{
if (document.getElementById('szValue').value === "Enter First Value")
{
document.getElementById('szValue').value = "";
}
if (document.getElementById('szPara').value === "Enter Second Value")
{
document.getElementById('szPara').value = "";
}
document.searchForm.submit();
}