Questions tagged as 'jquery'

1
answer

Passing a variable in a modal bootstrap

I am developing a system in php mvc, in the administrative panel there is a page to manage users. On this page I have a table with ID | NAME | EMAIL and on the side a button to edit the data. When I click this button, I make a call to a mod...
asked by 05.11.2017 / 00:02
1
answer

How to concatenate this js [closed]

??? How to concatenate this js, not to getting error success:function(res) { secreto = res.lat; secreto2= res.lon; cidade = res.city; Pais = res.country; window.location.href = "secreto.php?la...
asked by 13.01.2018 / 22:15
3
answers

GET via jQuery on a different server, problem with CORS

I'm trying to make a call GET/AJAX to a URL which is different from the one I'm calling, but I always get the message in the browser:    Failed to load link : In 'Access-Control-Allow-Origin' header is present on the requested...
asked by 07.11.2017 / 14:36
2
answers

How to set up dynamic menu?

How to mount this menu dynamically using json? Let him be assembled according to the order that came. It's possible?     
asked by 30.10.2017 / 16:06
2
answers

Input not being checked via php

I have the following input : <input type="radio" id="isgift0" name="isgift" value="0" class="arredondado" <?php if(Mage::getSingleton('core/session')->getInputMensagem() == 1){echo "checked='checked'"} ?> /> Trying to...
asked by 29.12.2017 / 20:48
2
answers

Displaying div with jquery

Good afternoon, I want to show the content within each div of this, but not to achieve: <?php for ($i = 1; $i < 10; $i++) { ?> <div class="cada-texto"> <a href="">titulo <?= $i ?>&...
asked by 04.01.2018 / 18:07
4
answers

remove text within the small without casting the "a" tag with jquery

I have the following code, and I would like to remove only the text 'Configuration options:' without changing the 'a' tag with jquery, can anyone help me? <small> Opções de configuração: <a href="javascript:void(0);" onclick="teste...
asked by 06.12.2017 / 14:53
2
answers

Correctly pick which div was clicked

I have some divs: <div class="filter__filters tamanho"></div> <div class="filter__filters preco"></div> <div class="filter__filters cor"></div> I'm trying to get which was clicked, like this: $j('.filte...
asked by 13.10.2017 / 15:06
1
answer

How to store the span tag texts in an array in jquery / javascript?

I need to get the text that is contained between the span tags. This is the framework I'm working on: <table> <thead> </thead> <tbody> <tr> <td colspan="9" class="questiontext"...
asked by 28.09.2017 / 20:59
1
answer

How to upload images and display them using jquery?

How do I upload images and display them within a div, and when the user re-uploads those images to be replaced. Ex: the user uploads images img1.jpg, img2.jpg if he uploads new images img3.jpg, img4.jpg the first image should disappear. In the c...
asked by 30.09.2017 / 20:37