What is the correct way to implement a search box that only appears for users with JavaScript enabled, without breaking the page for users without ...
What is the correct way to implement a search box that only appears for users with JavaScript enabled, without breaking the page for users without JavaScript?
Insert the search box directly into the HTML code, but hide it with CSS for users without JavaScript. Insert the search box via JavaScript, so that it only appears for users with JavaScript enabled. Insert the search box via jQuery, so that it only appears for users with JavaScript enabled.
A maneira correta de implementar uma caixa de pesquisa que só aparece para usuários com JavaScript habilitado, sem quebrar a página para usuários sem JavaScript, é inserir a caixa de pesquisa diretamente no código HTML, mas ocultá-la com CSS para usuários sem JavaScript.
0
0
Faça como milhares de estudantes: teste grátis o Passei Direto
Compartilhar