Posts by ericrj • 71 points
4 posts
-
0
votes0
answers40
viewsQ: NGINX - ERR_TOO_MANY_REDIRECTS when rewriting htaccess rules
I am trying to convert some htaccess rules to NGINX and am getting ERR_TOO_MANY_REDIRECTS. The htaccess code is this https://pastebin.com/UwGnNybj Options +FollowSymLinks -MultiViews # Secuirty…
-
2
votes2
answers416
viewsA: What is the difference between $('.botao'). on('click') and $(Document). on('click', '.botao')?
Take this example: buttons 1 and 2 will have 2 Alerts and button 3 only one as it was inserted later in the DOM. https://codepen.io/anon/pen/JmJLrY…
-
0
votes1
answer635
viewsA: Javascript: Add object within an object array
That’s what you’re looking for? var largura = 15; var altura = 25; var options = { title: 'Titulo', width: largura, height: altura, vAxis: { title:"Porcentagem % em vendas", format: 'decimal' },…
-
2
votes1
answer55
viewsA: Keep values in fields during Jquery/PHP validation
Talk buddy, here’s what you gotta do. In send.php you will make the validation checks, if there is any exception you for the execution of the code and returns a json, example below:…