You can select the HTML elements by the name, id and by tag, you can try use any of these methods.
eg: document.getElementById("youe elementId").value!="" (or)...
Type: Posts; User: SKV
Search: Search took 0.00 seconds.
Results 1 to 1 of 1