Questions tagged as 'jquery'

1
answer

Newsletter with refresh ajax

I'm trying to send this form via ajax and I'm not getting it, is something wrong? I'm banging my head on it, you love it for four hours without success. Note: I'm developing via wordpress and I'm using a plugin called Newsletter to store the...
asked by 27.01.2018 / 17:44
1
answer

Position fixed - returns to where you were with the scroll of the mouse

I have this script in Jquery that when the mouse scrolls through it certain div, leaves a div fixed with position: fixed. There you have it STOP HERE, that's where I want you to come back, how can I do it? function sticky_relocate() {...
asked by 22.12.2017 / 18:18
2
answers

Open Fancybox on specific page

I have a fancybox banner that opens on all pages. However, I want it to open only when the user is on the Home page of the site. I'm calling the javascript below in a .php file that makes the script call on every page of the site. So I just p...
asked by 26.12.2017 / 18:15
1
answer

Delete photo when clicking on a link

Some time ago, I had a question here on the
asked by 26.12.2017 / 17:40
1
answer

Delete file value with the information coming from the database

I have a registration form where fields have a file field. He registers normally. <div class="form-group"> <label for="foto">Foto do(a) Vereador(a):</label> <input type="file" name="Foto" class="form-control" id="fil...
asked by 27.12.2017 / 14:59
1
answer

Appear Extension icon according to file extension (doc, xls, pdf)

I'm having a demand for a php system. I am listing documents from a certain directory that is on the server in my html page <div class="tab-pane" id="docs"> <div class="table-responsive">...
asked by 01.01.2018 / 23:15
1
answer

Help with AJAX request

I have this function that searches the database for the quantity of products in stock. public function contarProduto() { try { $pdo = Conexao::getInstance(); $sql = "select id_produto as produto, sum(quantidade) as quantida...
asked by 02.01.2018 / 02:41
1
answer

Problem with slide show img's

Code: // Can also be used with $(document).ready() $(window).load(function() { $('.flexslider').flexslider({ animation: "slide", controlsContainer: $(".custom-controls-container"), customDirectionNav: $(".custom-navigati...
asked by 29.12.2017 / 16:21
1
answer

Submit file with jquery

Good afternoon, I need a code that simulates the submission of an input file file that when selected some value, it submits to the php in the same way as if it were submitting in an html form. For example <form action="" method="post" encty...
asked by 19.01.2018 / 18:13
2
answers

How to delete input and bring filter options back

Good afternoon I have a cod. I want to be able to do this, but I do not know how to do this, but I do not know how to do this. just to simplify I made a reset button, which deletes my input but does not bring the options back, just brings it bac...
asked by 19.01.2018 / 16:43