Javascript:
// Suchfeld Safari function safari_suchfeld(id) { if (document.getElementById && navigator.appVersion.indexOf('Safari')>-1) { document.getElementById(id).type='search'; document.getElementById(id).setAttribute('results','8',1); document.getElementById(id).setAttribute('autosave','such_id',1); document.getElementById(id).setAttribute('placeholder','stichwort',1); } } safari_suchfeld('s');
Html:
<input type="text" name="search" value="" id="s" />
Ergebnis:
![]()