Questions tagged as 'javascript'

1
answer

Put label with two lines in chartjs

I have this chart where I use chartjs and would like to put a label with two lines, \n nor <br/> has worked.     
asked by 17.08.2015 / 17:02
2
answers

Make jQuery-Tools handle a team

I use jQuery-Tools to create a custom effect of scroll on a div as in the following example : "use strict"; var id_label_ms = document.getElementById("count_label_ms"); var range = document.getElementById("area"); var...
asked by 21.08.2015 / 17:24
1
answer

Ajax wait for request to end

I'm using the script below to feed some fields into a form. When you do a search for the badge, it takes a few seconds to find the value, but if the person gives an "enter," he passes the "Searching ..." values to all fields in the database...
asked by 25.06.2015 / 22:16
2
answers

Image inside round div

I have a div block with height and width of 55px and border-radius: 100%; and I want for an image inside, but if the image is rectangular and I leave it with border-radius: 100%; she is oval! You have how the div overlays the image and covers th...
asked by 30.06.2015 / 16:41
2
answers

How to disable field in form using JQuery

I have a registration form where the customer types the zip code by Request using Ajax to get the address, the neighborhood, the city and the state. But how do I disable these fields after they have been populated with the Ajax result? I need to...
asked by 22.07.2015 / 20:00
2
answers

Integration between MailChimp and React Native app

I am a beginner in React Native. I'm basically trying to perform the integration between my application in React Native and MailChimp, what I want to do is: From the moment the user provides us with their email, and send the form, then an email...
asked by 05.09.2018 / 14:41
2
answers

Private class in JavaScript

I'm looking for a way to make both attributes and methods invisible so they are not accessible from outside the class. But I also wanted to use the modern approach to do this (classNameClass {}). After many attempts I have taken a different appr...
asked by 08.09.2018 / 16:01
2
answers

Recognize aria-selected="false" with jQuery

How do I make a jQuery that recognizes if aria-selected="false" and if true change the background of the "arrow-btn-sub" div to another image (arrow img). This is part of an accordion and I want to change the img of the arrow when the par...
asked by 13.02.2014 / 12:01
3
answers

Is it possible to import variables in JavaScript (Node.js)?

I have variables in app.js : var G = {}; module.exports = G; var DATA = G.DATA = 'DATA'; var F1 = G.F1 = function(val) { return val; }; In this way, I can export variables under the object G , and at the same time, I can acce...
asked by 05.02.2014 / 00:40
4
answers

How to use AJAX with Laravel?

I have a select that when I change the value it should reorder a list, eg by id, name, etc. without Laravel I would use a onchange function and pass the sort order to a PHP page that would print this list sorted for me ... But how to d...
asked by 06.02.2014 / 11:35