W whipitrnd New Member Dec 5, 2012 #1 How can I check if there is a input field in my HTML Form. I try a code like this:\[code\]if(document.getElementById('fieldID') != 'null'){ alert('Some alert'); }\[/code\]But this is not working. How can i do ?
How can I check if there is a input field in my HTML Form. I try a code like this:\[code\]if(document.getElementById('fieldID') != 'null'){ alert('Some alert'); }\[/code\]But this is not working. How can i do ?