<div class="wpp_search_attribute_wrap">
<input type="text" id="wpp_search_element_3712"
class="area wpp_input wpp_input wpp_searchable"
name="wpp_search[area]" value=""
placeholder="" />
</div>`
Here is the HTML of a wordpress widget I can't edit. I'd like to add the placeholder text to "click here to enter text", but there doesn't seem to be a CSS way of doing so.
I can't edit the HTML (which would be the best solution!) but I can add in CSS/Javascript.
I've tried adding an element below the input box, then setting the input box to transparent and on focus setting the new element below to white, so it appears to work like a regular placeholder text, but it's not reliable enough.
edit: Also the ID changes on each page reload/visitor I presume to avoid cross searches. Is there a way to target the name="wpp_search[area]"
as this remains constant in the HTML.