Styling empty input boxes

take a look at this fiddle
How I could target(for styling purposes) the empty input fields-two in the code.

In essence I want to find the values of the name attribute of the empty fields.
Yes there maybe other ways but I want to focus on that mentioned above.

If you design it as a form, then it’s quite easy, for you can easily go through form.elements to investigate each field in there.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.