Questions tagged as 'jquery'

1
answer

I am not able to load the image that demonstrates error using jQuery

Today's exercise was to load one image when there is an error in the other image. Firstly I tried to use the .erro() function, but I discovered that it was deprecated in version 3.0. Then I tested the .on() function, but in the sam...
asked by 30.10.2017 / 22:04
1
answer

Load method has beforeSend?

I would like to know if in the .load () method of JQuery, you have some way to use beforeSend, just like we use direct in $ .ajax (); Would you? $.ajax({ url: "https://www.blablabla.com.br", beforeSend: function(){...
asked by 30.10.2017 / 14:59
2
answers

Open a certain tab by clicking the navbar link

I have a navbar that has several links to the same page that has 3 tabs. I need to click on a navbar item it opens the page with the specific tab selected. Itriedtodothis(butitdidnotwork): $("#menu").click(function(){ $("#dados-capa")....
asked by 31.10.2017 / 17:37
1
answer

How to capture a jquery element and leave changed in a new variable without changing the view?

For example, I want to get the DOM element, and then change, without it changing the behavior in the view: //aqui pego o conteúdo da html var content = $('.content').get(0); //aqui eu reescrevo, porém ocorre que o $('.content') também está sen...
asked by 05.06.2017 / 21:43
1
answer

Overflow in menu off canvas?

I'm doing a off canvas menu, actually it's always on the screen, and when I click the button, what moves is my main , the problem being overflow, when I open the menu it should not let me give scroll , but rather close the men...
asked by 06.06.2017 / 02:46
3
answers

Paging in the photo gallery

Good night everyone, I need help in the following code snippet and a gallery of photos and I need to do the pagination of 9 in 9 photos already tried everything and I could not if they can help me there <!DOCTYPE html> <body> <?...
asked by 16.09.2017 / 05:16
2
answers

Create node in xml with jquery

<?xml version="1.0" encoding="UTF-8"?> <dados> <usuarios> <usuario> <login>usuario</login> <senha>senha123</senha> </usuario> </usu...
asked by 04.06.2017 / 01:10
1
answer

Reorder list of products with Javascript?

I would like to know how to change a list of products. I have the products in Json , and I would like to implement a function to reorganize the products by Mais recente, Maior ou Menor preço. JSON "produtoUm" : [...
asked by 20.04.2017 / 18:33
1
answer

What is the best way to submit action (form) or jquery submit data?

Is there any standard for submitting form data today? Use jquery and delete the action (form) or validate with jquery and send the data using action (form).     
asked by 20.04.2017 / 15:48
1
answer

Run mysql search after opening Modal

Galera, yesterday with the help of Bruno here on the page I managed to solve my problem of creating the modal, but today I have a new difficulty that I could not get over. Next to my modal opening with the opening through the normal click. Bu...
asked by 03.08.2017 / 03:17