Questions tagged as 'jquery'

2
answers

How to make slideToggle () of div that was requested via ajax?

Dear Sirs, I have a div that is populated via ajax: function atualizaConteudo(){ $.ajax({ url: 'getters/conteudo_amanha.php', success: function(data) { $('#conteudo_amanha').html(data);...
asked by 27.12.2017 / 19:30
1
answer

AdminLTE: jQuery collapse

I'm trying to use the "box collapse" of the AdminLTE template (figure below), but when rendering dynamically it does not expand when clicking on '+'. I'm using the code below in a PartialView. I tried to use the delegate function of jQuery, b...
asked by 29.12.2017 / 15:12
1
answer

Remove a slide from a swiper by class

I have the following swiper: var swiperBanner = new Swiper('.swiper-container-banner', { slidesPerView: 1, speed: 1200, loop: true, grabCursor: true, freeMode: false, preventClicks: true, autoplay: { delay:...
asked by 31.12.2017 / 22:26
0
answers

How do I stop and restart a JQuery function that can be triggered by multiple elements?

Hello, I made a screen with a virtual keyboard, for a touch screen application. The client wants two inputs on the same screen and when the user selects an input, the keyboard must enter the values entered in the same input. I have the functi...
asked by 19.12.2017 / 17:00
1
answer

Add content at cursor position with Froala editor

I have a textarea field and a second select field. I want to click on a certain place in my textarea , and then choose a of the options in my select field, and I want this option to be chosen ( any text ), to appear in the place I last clicke...
asked by 11.12.2017 / 22:45
0
answers

Multiple requests with ajax - Jquery

I have a page containing 1 (one) to 50 requests. So I use a loop that makes the call. For the speed of my internet, in a matter of 3 seconds should load all the requests. But it's done one by one, so it takes minutes to finish. How do I la...
asked by 23.12.2017 / 00:00
1
answer

PRESTASHOP - How to make the attributes and features appear in Front End?

I registered some categories, put them in the menu, then I made the registrations of the attributes and the characteristics, I registered some products and made the associations but the attributes do not appear when being clicked in the category...
asked by 23.12.2017 / 17:15
1
answer

Change the color of a button and keep it changed after the user leaves and returns

Is there any way to make a page keep the color change of a button (or link) with a function such as the CSS "a: visited" but that change should remain even after the user exits the site and return later?     
asked by 23.12.2017 / 19:33
1
answer

Is it possible to create a JS file for all pages?

I have several pages, I wonder if you can use the same JS for the same page. For example:    I have a HOME page, where I load the "child" pages within a% content, but for each page, I need to create a new JS $("#lista_cli").click(fun...
asked by 11.12.2017 / 04:02
1
answer

How to reload only table after ajax

I am reloading the page after inserting a data into the database via ajax, is it possible to update (rebuild) only the table, or the div it is in? $(document).ready(function(){ $('#cadastrouser').hide(); $('#formcadastro').submit(function(eve...
asked by 12.12.2017 / 18:17