Busca en cnbGuatemala con Google
41 bytes eliminados
, hace 8 años
Línea 92: |
Línea 92: |
| autoFocus: false, | | autoFocus: false, |
| onShow: function () { | | onShow: function () { |
− | $('#searchInput').focus();
| + | $('#searchInput').focus(); |
− | $('#searchInput').val('Comunicación');
| + | $('#searchInput').val('Comunicación'); |
− | var e = $.Event("keydown", { keyCode: 32});
| + | $('#searchInput').focus(); |
− | $("#searchInput").trigger(e);
| + | var press = jQuery.Event("keypress"); |
− | $('#searchInput').focus();
| + | press.which = 36; |
| + | $("#searchInput").trigger(press); |
| + | $('#searchInput').focus(); |
| }, | | }, |
| | | |