Posts by Marlon Lima • 97 points
7 posts
-
0
votes2
answers648
viewsA: Reload main script when completing ajax request
There’s a technique I use, and I always work.... You can do a function to reload the scribes ... example function inicia_scripts(){ //Selector personalizado //Nenhum select option vai funcionar sem…
-
0
votes1
answer577
viewsA: Request ajax takes a long time to execute
Friend, there are several factors that can cause this. First, the local server latency is zero. It will run instantly. Now when it’s web server, somewhere else.... Oh yeah, look what might be…
-
2
votes2
answers233
viewsA: Add Download to ajax
Using ajax is even more difficult, I especially prefer to use jquery form This is the documentation link https://github.com/jquery-form/form The code to send would look like this...…
-
1
votes2
answers125
viewsA: Date time Picker
Add useCurrent: false in your code, which should appear $('.form_datetime').datetimepicker({ language: 'pt', format: 'yyyy-mm-dd hh:ii:ss', autoclose: true, todayBtn: true, minuteStep: 10,…
-
-1
votes1
answer162
viewsA: Kaspersky Anti-virus Blocking Modal Bootstrap
Dude, Kaspersky is a great anti-virus... I don’t use anti-virus because I’m my own anti-virus, but your case is really weird, I’ve never seen anything like this. Probably, the anti-virus is blocked…
-
0
votes1
answer34
viewsA: How do I get the id of an input created by jsonform?
next, for you to be able to get the id of ANY element.... just use the ATTR function of jquery example $("input").blur(function() { console.log($(this).attr('id')); });…
-
3
votes1
answer61
viewsA: How to prevent pages from being loaded by the browser after logging out
Just put a protective function on each page that should be protected. example <?php if(!isset($_SESSION['id'])){ header('Location: /pagina.php'); exit(); } ?> If there is no $_SESSION['id'];…