Checking if there is a input field in HTML Form

whipitrnd

New Member
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 ?
 
Back
Top