Skip to Main Content
Use A Cabeça jQuery
book

Use A Cabeça jQuery

by Ryan Benedetti, Ronan Cranley
June 2013
Beginner to intermediate content levelBeginner to intermediate
537 pages
17h 42m
Portuguese (Portugal, Brazil)
Alta Books
Content preview from Use A Cabeça jQuery
158 Capítulo 4
não exatamente um para todos
replaceWith não funciona em todo tipo de situação
O método replaceWith funciona bem quando você
tem uma substituição um-para-um como a troca da
classe hamburger pela classe portobello.
Substituição
um-para-muitos
Mas o cenário da troca de elementos
do próximo item em nossa lista de
verificação não é um-para-um. Temos
de substituir muitos tipos diferentes de
ingredientes (ou seja, turkey, eggs,
steak, lamb chops) por um ingrediente
(tofu).
Substituição
muitos-para-um
Mas, quando queremos selecionar
tofu e substituí-lo mais tarde, temos
um problema. Quando queremos
colocar tipos diferentes de meat
(carne) ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

USE A CABEÇA! PROGRAMAÇÃO JAVASCRIPT

USE A CABEÇA! PROGRAMAÇÃO JAVASCRIPT

Eric Freeman, Elisabeth Robson
Use a Cabeça! HTML e CSS

Use a Cabeça! HTML e CSS

Elisabeth Robson, Eric Freeman
Use A Cabeça! Programação Em HTML5

Use A Cabeça! Programação Em HTML5

Eric Freeman, Elisabeth Robson

Publisher Resources

ISBN: 9788576087571