Questions tagged as 'jquery'

1
answer

How can I get and save this value

I have a program too big for here and so I created a fiddle to illustrate my problem. I want to catch and save a p , but alert is always empty. Can you help me out? HTML <ul> <li>1</li> <li>2&...
asked by 21.05.2015 / 18:21
2
answers

Function add class in pure JavaScript [can not be es2015 / 2016]

Good morning, everyone. I've done an effect in which you click on a div and swap the image with css animation effect. In the case, I used the jquery addClass / toggleClass (I used the 2). But I wanted to do a script using pure JavaScript...
asked by 26.05.2017 / 16:01
1
answer

Disregard words in the input

I would like to know how to override / disregard certain words placed by users in the input. I have an input where the person should send me the URL of a website, in case they should send the url as site.com/image because I have a script that...
asked by 20.02.2017 / 05:11
1
answer

Display a div when clicking on the close of the browser window [duplicate]

Does anyone know how I would display a <div> that is hidden when the user clicks the close button in the browser window?     
asked by 13.01.2017 / 19:04
1
answer

Jquery / Ajax Duplicating

Good afternoon, I've already researched this problem here in the forum and tried some solutions but I do not know what I'm doing wrong. I have this function that calls my Modal. function verificarSenha() { var fo...
asked by 13.01.2017 / 18:12
1
answer

How do you have at most one selected leader in all selects?

How do I when I select the Leader option , javascript does not allow another function to be selected (multiselect)? The scenario is as follows: Each select represents the roles of each user. The user who is selected as Leader , can n...
asked by 30.11.2016 / 03:45
1
answer

Is it possible to add a function in a json?

Let's get into the problem. In datatable.js, to display the columns I define as follows: "aoColumns": [ { "mDataProp": "IdProcesso", "sTitle": "Numero" } ] If you need to perform some function:...
asked by 22.11.2016 / 18:59
2
answers

Mechanical caroussel bootstrap, slide show

I'm trying to 'copy' the mechanics of boostrap caroussel ( link ). Forward is fine, not the same bootstrap mechanic but visually it is, although it is not the best way because I'm adding infinitely .item to the div (thanks for suggestions...
asked by 18.07.2016 / 15:05
1
answer

Download image only by its URL

I have this requisition: var exportUrl = 'http://export.highcharts.com/'; $.post(exportUrl, d1, function(d1) { }); Since exportUrl + d1 becomes the url of my server-generated image. how do I continue the process and download it? I tr...
asked by 07.11.2017 / 19:11
2
answers

AJAX and WeakMaps requests

While I was putting into practice what I have learned so far about the ES2015 with Babel. specifically on WeakMaps, I came up with a problem that I do not know why it happens and I do not know how to solve it. I have a WeakMap set to store in...
asked by 26.01.2017 / 11:36