Posts by Fernando Garcia • 21 points
6 posts
-
0
votes2
answers112
viewsA: Search with Jquery filter
Change the function to: function filterTable (item) { var val = item.val(); $('.filter-rows').hide(); $('.filter-rows[data-cod="'+val+'"]').show(); } Testing and running:…
-
1
votes2
answers112
viewsA: Search with Jquery filter
Try it like this: Add one class to all <tr>, to be more specific: <tr data-cod="3" class="filter-rows"> <td> Vidro </td> <td> Concerto de porta de vidro </td>…
-
0
votes4
answers84
viewsA: How to do a sequential for with nodejs version 8?
Hello, try to add one await before your query. await DB.query("example(?,?)", [foo, bar]) And in case you stop iteration if you need to, try adding a return false Example: for ( let n = 0; n <=…
-
-1
votes3
answers110
viewsA: HTML Structure - CSS Background Image
html, body { height: 100%; margin: 0; } #elementoPrincipal { height: 100%; } #elementoSuperior { background-color: #505050; height: 30%; display: block; } #elementoInferior { background-color:…
cssanswered Fernando Garcia 21 -
0
votes0
answers278
viewsQ: Nodejs Express Sessions problem: all information is being exchanged
I need help fast ... I’m wondering why my web application (Nodejs 10.x) is giving this strange error: It’s swapping out user sessions... When a user edits their profile, the information always goes…
-
1
votes1
answer28
viewsQ: Separating pages by categories (including permalinks)
I am working on a project where it is necessary that there is a separation by types of pages. It works like this: When accessing the website, the visitor must choose whether it is Enterprise or…
wordpressasked Fernando Garcia 21