Posts by Elson Lima • 29 points
5 posts
-
0
votes1
answer45
viewsA: UPTADE with JSON and Php
Already tried to send the post using serialize? would look like this: function uptade_cat() { var dados = $(this).serialize(); $.ajax({ type: "POST", url: "caixa/categoria_uptade.php", data: dados,…
-
0
votes1
answer107
viewsQ: Force navigator to open . pdf
I need to open a . pdf file directly in the browser. The problem is that this file is generated from an external link and already comes with download option. I’m trying to open it this way: <?php…
phpasked Elson Lima 29 -
0
votes1
answer76
viewsQ: Link with ajax result does not accept click
I have the following matching ajax call: $(document).ready(function() { $(".atualizarAjax").click(function(){ var id = $(this).attr("data-id"); $.ajax({ type: 'GET', url: "<?= HOME…
-
0
votes2
answers365
viewsA: filter_input GET
Change here: $btnOrca = filter_input(INPUT_GET, 'btnOrca', FILTER_SANITIZE_STRING); if($btnOrca){ echo "Entrou na função"; To: i$btnOrca = filter_input_array(INPUT_GET, FILTER_DEFAULT);…
-
2
votes1
answer131
viewsQ: Smooth scrolling in div content
I have a script that scrolls smoothly when clicking on the anchor link. The problem is that it scrolls the entire page. I need him to scroll only the contents inside a div specific and the rest of…