Posts by Thiago de Campos • 96 points
5 posts
-
0
votes1
answer302
viewsA: Parallax.js does not work in Chrome for Mobile
I believe it may be related to the option "androidFix", which by default comes as true and leaves the static image on mobile. take a look at the last option http://pixelcog.github.io/parallax.js/…
-
1
votes3
answers2407
viewsA: State and City Combobox associative array in Javascript
you need to associate the change of state to an event. The way you’re doing it is taking the first option (which is empty) and trying to load the cities, which will never work. If you want to see…
-
0
votes1
answer786
viewsA: Picking an element by id after repeat in an array - HTML/Javascript/Angular
You cannot have two elements with the same id (identifier) in your HTML. CSS is only being applied to the first because of this. What you can do is add a class: <div…
-
2
votes4
answers6374
viewsA: Encrypt Java password with Hash sha256
import java.security.* String password = '201703281329' MessageDigest digest = MessageDigest.getInstance("SHA-256") digest.update(password.getBytes("ASCII")) //mudar para "UTF-8" se for preciso…
-
2
votes1
answer188
viewsA: Inserting data-id and data-url into the Datatable extra field
To insert the attribute use Jquery’s attr() function: $(row).attr('data-id', 'valor_qualquer'); To recover this value, access the attribute as follows: $(row).data('id');…
front-endanswered Thiago de Campos 96