Questions tagged as 'jquery'

1
answer

Change the Selection within a Select (form)

Good afternoon, I would like you to help me with the following: I have 3 buttons which open the same MODAL, and within this Modal I have a Select with 4 options: 0 by default, and 3 options from 1 to 3, where each one corresponds to a button. Wh...
asked by 16.08.2017 / 17:41
1
answer

Angular 1 reading JSON cross-domain

I'm having a little problem with angular and wondered if anyone can help me, I was asked the following task to make a shelf from the products of an external JSON (where you have all the info of each product). const API_URL = '/caminho/para...
asked by 12.08.2017 / 06:17
1
answer

Shopping cart item is not removed

I have a dynamically created shopping cart, but the problem is that when I delete an item it even removes it, but if I try to add another item it picks up the one that was removed and adds it back to the shopping cart plus the item that I've add...
asked by 11.08.2017 / 16:18
1
answer

Auto-complete jQuery error with image

I have this code in jquey and PHP , I need the product image to appear in the auto-complete along with the name in the #resultado div. I put console.log() to see if it was looking for the information, and they are, it just is not showi...
asked by 10.08.2017 / 13:18
1
answer

Product image on select option is possible?

I have a budget system but as there are many items with similar description came the need to visualize the image next to the description, the link of the image and the description will be dynamic and will come from a database, I made a code to e...
asked by 09.08.2017 / 23:05
2
answers

jQuery.get executes after all rest of the function

Running this code the sequences of alerts I have is begin, outside, final e inside , how to solve this ?? addLine(){ alert('begin') jQuery.get('database/addClube/'+this.clube); jQuery.get('dat...
asked by 09.08.2017 / 22:49
3
answers

Modify element via JavaScript and "warn" the page that the element has been modified

$(document).ready(function(){ $("#myTextarea").change(function(){ alert("text area changed"); }); //$("#myTextarea").keydown(function(){ //alert("text area changed"); //}); }); setTimeout(function() { $("#myT...
asked by 11.09.2017 / 16:48
1
answer

Open in certain photo, slick carousel

Is it possible that when you open slick carousel , that particular photo is in focus? some sort of index mapping or even the name, if not, is there any other drag and drop slide that does this? example ... <div class="your-cl...
asked by 11.09.2017 / 16:24
2
answers

Problems with OnChange in select?

I have a button event that triggers an ajax that loads the data as an example. $('#table_com_parcelas tbody').append('<tr><td class="align">' + x + ' de ' + parcelas + '</td><td class="align">' + vencimento + '</td&g...
asked by 15.09.2017 / 16:14
1
answer

Jquery - Select and deselect elements on the page

I have a screen with several divs that are draggable. However, when the user clicks on them, I need to create a border around them and add some options (delete, for example). But when I clicked off this element, I want it to come out of th...
asked by 15.09.2017 / 18:22