Posts by SeF • 322 points
9 posts
-
0
votes0
answers29
viewsQ: Individual animation of elements
Hello. I need a script that generates an element span at the 20% start or end of the screen. Then this element needs to have an animation up to the top of the screen giving fadeout. My difficulty is…
javascriptasked SeF 322 -
2
votes1
answer162
views -
3
votes3
answers3283
viewsQ: Regular expression for dates without tab
I need to know if a sequence of 8 numbers is a valid date in the dd/mm/yyyy format. The closest I came was using this expression: /^[0-3]{1}\d{1}[0-1]{1}[0-9]{1}[1-2]{1}\d{3}$/gm; But it is…
-
5
votes1
answer634
viewsQ: Maximum Array Size Passed by POST
I’m doing a function JavaScript to read a file the user is uploading and sending to the PHP via POST only content for insertion in the database. I’m trying to send a array with the contents of the…
-
1
votes1
answer429
viewsQ: Hide and show button in a Datatable with jquery
I have to show or hide a button inside my Datatable as an ajax function returns. I can already hide (hide all by default) and already know when to show the button, the problem is that I can not show…
-
0
votes4
answers819
viewsA: Show post with ajax
You can do it like this function salvarComentario(){ $.post("/caminho/para/funcao/save-comentario", {comentario: $('#campo_comentario').val()}, function(d) { if(d === "true" ){…
-
5
votes5
answers17262
viewsA: How to use ajax and php to call a function in php?
I always use it like this, passing the parameters in the url $.ajax({ url: '/main/conciliacao/gera-senha/tam/6/mai/true/sim/true/num/true', type: 'POST', cache: false, datatype: "json", error:…
-
3
votes4
answers1483
viewsA: Release link after completing form
You can use the bootstrapValidator. It’s simple and it looks very good visually $('#formulario').bootstrapValidator({ message: 'O valor informado não é válido!"', feedbackIcons: { valid: 'fa…
-
1
votes1
answer237
viewsQ: Javascript does not accept variable value
I am trying to make a function to call a GRID that will be different depending on the parameter I pass. This is the function: $JQuery(document).ready(function() { $.ajax({ url:…