On Wed, 2011-11-02 at 02:46 +0100, ~redShadow~ wrote: > [...] For the moment, I'm using this javascript to add a "blank" button after the datetime inputs:
// -- Add blank button right of datetime fields
$('input.datetime').each(function(){
oc = "$('#"+this.id+"').val('');return false;"
$(this).after('<button class="blank-btn" onclick="'+oc
+'">BLANK</button>');
});
--
Samuele ~redShadow~ Santi
----------------------------------------------------------------
redshadow[at]hackzine.org - redshadowhack[at]gmail.com
Blog: http://hackzine.org
GPG Key signature:
050D 3E9F 6E0B 44CE C008 D1FC 166C 3C7E EB26 4933
----------------------------------------------------------------
/me recommends:
Squadra Informatica - http://www.squadrainformatica.com
----------------------------------------------------------------
- Proud ThinkPad T-Series owner
- Registered Linux-User: #440008
* GENTOO User since 1199142000 (2008-01-01)
* former DEBIAN SID user
----------------------------------------------------------------
"Software is like sex: it's better when it's free!"
-- Linus Torvalds
signature.asc
Description: This is a digitally signed message part

