I\'ve tried it a few different ways based on searches I\'ve done on the subject and for some reason I can\'t get it to work. I just want my text inputs and textarea to clear
Just include this line at the end of function and the Problem is solved easily!
document.getElementById("btnsubmit").value = "";