Questions tagged as 'jquery'

0
answers

How to use Ajax contentType to transfer XML and JSON data between services?

Good afternoon everyone! I need to pass data in XML and JSON formats to an API I'm developing. Every time I put the contentType: "application / json / xml; charset = utf-8" into my Ajax block, I get the following error XMLHttpRequest cannot lo...
asked by 07.07.2016 / 19:06
2
answers

Problems with jQuery append () and html ()

I have already seen another example here in the forum but it did not help me much by the amount of items inserted in div . $carrinho = '<div class="carrinhoMais"> <a href="carrinho.php">CARRINHO</a>...
asked by 03.06.2016 / 15:21
1
answer

Change span value with jQuery

I have the following elements: <span class="teste">256,00</span> <span class="teste">110,00</span> <span class="teste">16,00</span> <span class="teste">26,00</span> I would like to know how to...
asked by 04.06.2016 / 03:08
2
answers

How do I make my Modal only appear on the customer's first visit?

I made a modal, this java code I used $(document).ready(function(){ $(".janelaModal, .fundoModal").fadeIn(); $(".botao").click(function(){ $(".janelaModal, .fundoModal").fadeIn(); }); $(".fecharModal, ....
asked by 04.06.2016 / 14:50
0
answers

Event triggers once more for each click

I was doing an application from a store, in the application, when clicked on the product image, opens a modal indicating the quantity. This mode has a submit button to send the data to the database. Clicking on submit the first...
asked by 21.06.2016 / 19:02
1
answer

How to simulate a "min-top" in css

Does anyone know of a way to simulate a " min-top " in an element? Maybe using JS or Jquery ... I'm using scale() in an object, but the function causes the element to change position. I would like that when I apply scale() th...
asked by 21.06.2016 / 21:48
0
answers

Detect browser scrolls not always

I have an animated header, when "scrolo" the site it changes some things with animate, that is, when $(this).scrollTop() > 0 (from 1 to 1 million, but only when it leaves position 0) it animates and returns to position 0 again, it enco...
asked by 21.06.2016 / 14:04
1
answer

Add row in jquery with SessionStorage

Good afternoon I am trying to make a kind of form where I save some values using sessionStorage and when I return the code, I want to display the values in an html table, but the numbers do not show in an exact sequence, has anyone had this prob...
asked by 08.06.2016 / 23:39
1
answer

Add option to select

Good afternoon! HTML <label class="labelPequeno">Cidade</label> <select class="typeTextMedio" name="cidade" id="cidade" required> <option value="" selected>Selecione a cidade</option> </select> Jav...
asked by 19.05.2016 / 21:15
1
answer

Compare fields in jQuery

I need to compare the fields as the script below: $("#send_request").submit(function(event){ var password = '7c4a8d09ca3762af61e59520943dc26494f8941b'; if($('#userpassword').val()!=password){ alert('senha inva...
asked by 21.05.2016 / 00:16