Questions tagged as 'jquery'

2
answers

Verify if border is applied

I'm doing a check on my page so that the user is always required to select a cor and a tamanho but my script is not working correctly, even selecting the color and clicking the add alert asks me to cor be selected....
asked by 21.08.2018 / 15:40
2
answers

Working with Ajax

In the blur event of a field, I give a select in my bank and bring a value and fill in my html. My question is how do I get more than one result or a specific result in the ajax date. The code below works, but it only brings monthly if the cu...
asked by 29.07.2018 / 14:37
1
answer

Help on how to use setItem and getItem of localStorage

I'm trying to save an answer, but I can not, every time I refresh the previous answer back. Here's what I'm trying to implement: <!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="utf-8"> <...
asked by 01.08.2018 / 17:59
2
answers

FCKEDITOR - Force all text to the left

How to force text if inserted in FCKEDITOR like this: Na frase: para discutir e levantar sugestões que possam trazer a solução definitiva.   a)A sustentabilidade, que hoje tem caráter extremamente relevante, deve ser amplamente divulgada...
asked by 26.05.2018 / 23:47
1
answer

Problem with return message in form with Ajax

I am passing form data via Ajax, and would like the return to be displayed on my html page on <div id=resposta></div> , on the original page of the form, however for some reason the return is always displayed on the PHP page, I...
asked by 13.07.2018 / 17:18
1
answer

Animation in up / down image inside div with Jquery

I have this code that does an image animation going up infinitely, but it does not happen, how could I fix it to have the same effect as this site link .tech-slideshow { height: 200px; max-width:400px; margin: 0 auto; posi...
asked by 20.06.2018 / 02:34
2
answers

How to create an Operation Confirmation alert?

I have the following Function that is called through a OnClick where it will delete the selected record. But for security reasons, I would like to put a control to continue with the operation or not. Follow the code below: function...
asked by 15.05.2018 / 21:46
1
answer

jquery store value during loop and compare with next value

I need to compare values coming from a json object and group cases to be the same. Ex: {nome: andre,qt:"2"},{nome: andre,qt:"3"},{nome: marco,qt:"2"},{nome: marco,qt:"5"} I need to group in separate objects where I would have: object 1 =...
asked by 28.05.2018 / 22:34
1
answer

Error removing div with Jquery

I need every time I click on the "add product" duplicate the new-product div. And when you click on 'remove product' you remove the created div. Until then it works, but when you try to add a product again after you have removed the error: und...
asked by 28.05.2018 / 20:47
1
answer

Click on dynamically generated element does not work

Hi, I am cloning an element via jQuery and when I click on an item of the cloned element the click does not work, it follows example codes: Cloning: var template = $(".products .product.template").clone().prependTo($(".products")).removeCla...
asked by 06.05.2018 / 04:39