Posts by user132413 • 21 points
2 posts
-
2
votes1
answer66
viewsQ: Hiding elements inserted with append
I have this code: db.transaction (function (tx) { tx.executeSql(`SELECT * FROM cartoes WHERE usuario = ${0}`, [], function(tx, results){ for(var i=0; i<results.rows.length; i++) { var nomeEmpresa…
-
0
votes0
answers397
viewsQ: Changing a CSS class by Javascript
I have this class in my CSS: .botao-localizacao{ display: block; } It doesn’t exist in my html, only in CSS. So my question is: how do I change it in my javascript/jquery? EX: .botao-localizacao{…