spip_nursit/plugins/dist/themes/zpip-1/Rutherfordiumy/main-loading.js.html

22 lines
458 B
HTML
Raw Permalink Normal View History

2023-06-01 15:30:12 +00:00
function paddToggle(classname,value) {
jQuery(classname).focus(function() {
if (value == jQuery(classname).val()) {
jQuery(this).val('');
}
});
jQuery(classname).blur(function() {
if ('' == jQuery(classname).val()) {
jQuery(this).val(value);
}
});
}
jQuery(document).ready(function() {
paddToggle("input#recherche", "<:info_rechercher:>");
jQuery("div.search form").click(function () {
jQuery("input#recherche").focus();
});
});