The problem is that you do not have an element with id u so that you call something that does not exist.
To fix this, you must add id to the element.
<input id="u" type="text" class="searchbox1" name="search" placeholder="Search for Brand, Store or an Item..." value="text" />
And I also saw that you added a value for the input, so this means that the input is not empty, and it will contain text. As a result, the placeholder will not be displayed.
Finally, there is a warning that the W3Validator will say due to a “/” at the end.
For the current document, the validator interprets strings, for example, according to outdated rules that violate the expectations of most authors and, thus, cause confusing warnings and error messages from the validator. This interpretation is triggered by HTML 4 documents or other SGML-based HTML documents. To avoid messages, simply remove the “/” character in such contexts. NB: If you expect <FOO /> to be interpreted as an XML-compatible "self-closing" tag, then you need to use XHTML or HTML5.
The conclusion is that you need to remove the slash. Just write this:
<input id="u" type="text" class="searchbox1" name="search" placeholder="Search for Brand, Store or an Item...">
jondiaz
source share