onfocus/onblur javascript replaced with placeholder="[% seed %]" in
Open-ILS/src/templates/kpac/getit.tt2 and
Open-ILS/src/templates/kpac/parts/searchbox.tt2
Signed-off-by: Shula Link <slink@gchrl.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
[% seed = l(' Enter Numbers... ') %]
<p>[% l('Library Card Number without spaces:') %]</p>
<div class="input_box">
- <input name="username" type="text" class="text_box" style="color:#aaa;" value="[% seed %]"
- onfocus="if(this.value=='[% seed %]'){this.value='';this.style.color='#424242';}"
- onblur="if(this.value==''){this.value='[% seed %]'; this.style.color='#aaa';}" />
+ <input name="username" type="text" class="text_box" style="color:#aaa;" placeholder="[% seed %]" />
</div>
<a class="help_btn" href="javascript:;"
onclick="helpPopup('card_help', this, event);"><img
<input type="text" name='query'
value="[% CGI.param('nosprop') ? '' : CGI.param('query') | html %]"
[% seed = l(' Enter Text... ') | html %]
- class="sub_sidebar_search_box" style="color:#aaa;" value="[% seed %]"
- onfocus="if(this.value=='[% seed %]'){this.value='';this.style.color='#424242';}"
- onblur="if(this.value==''){this.value='[% seed %]'; this.style.color='#aaa';}" />
+ class="sub_sidebar_search_box" style="color:#aaa;" placeholder="[% seed %]" />
</div>
<table cellpadding="0" cellspacing="0" border="0" class="sub_sidebar_search_st">
<tr>