Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-03-01 18:31:52

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Could search field on txp docs clear on focus?

Howdie — I think it would be nice if the “Search docs…” value in the search input cleared on focus for on the wiki.
something like:

$('#searchInput').focus(function(){$(this).val('');});

or making use of the HTML5 placeholder attribute?


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#2 2012-03-02 22:25:25

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: Could search field on txp docs clear on focus?

Hi Jan!

If I find a bit of time, I’ll look into it.

Offline

#3 2012-03-02 22:49:44

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: Could search field on txp docs clear on focus?

Thanks!


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

Board footer

Powered by FluxBB