Hi,
I am getting undefined instead of blank values, please tell how to check for undefined?
Thanks
This way
if (typeof(document.getElementById("txtName").value) != "undefined") { //Do something }
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.