Busca en cnbGuatemala con Google
518 bytes eliminados
, hace 7 años
Línea 88: |
Línea 88: |
| attachTo: '#p-search', | | attachTo: '#p-search', |
| position: 'bottom', | | position: 'bottom', |
− | closeOnClickOutside: false, | + | closeOnClickOutside false, |
| overlay: false, | | overlay: false, |
− | onShow: function () { | + | |
− | $('#searchInput').focus();
| |
− | $('#searchInput').val('Comunicación');
| |
− | $('#searchInput').focus();
| |
− | var press = jQuery.Event("keypress");
| |
− | press.which = 40;
| |
− | $("#searchInput").trigger(press);
| |
− | $('#searchInput').focus();
| |
− | },
| |
| buttons: [ { | | buttons: [ { |
− | name: 'Show list', | + | name: 'Show', |
| onclick: function () { | | onclick: function () { |
| $('#searchInput').focus(); | | $('#searchInput').focus(); |