[pmwiki-users] Searchbox: Highlight Text on Enter/Click

Sebastian Schneider sesc at unibw.de
Thu Mar 18 07:17:28 CDT 2010


Hello!

On my webpage I use the (:searchbox value="Search":) directive, which
allows me to set the text in the searchbox. Now what I want to do is
highlight/erase this text as soon as one enters the box via tabulator or
mouse click.

>From what I understand there exists the html-onclick event, but I don't
have a clue on how to integrate this. Apart from that I'd rather not use
JavaScript if possible.

Thanks,

Sebastian Schneider



More information about the pmwiki-users mailing list