Questions tagged as 'jquery'

3
answers

Capture input value (Only numeric fields) and put in Div

I'm trying to create a function that takes the value of an input field and places it in div. But I'm not getting it to work. Note: I need to get only numeric values. Follow my code: $( "#testar" ).click(function() { $('#txtD...
asked by 29.11.2017 / 15:08
2
answers

CORS - No Access-Control-Allow-Origin header is present on the requested resource

Good evening, I'm trying to make an access from my local machine to a server and I'm getting this response:    No Access-Control-Allow-Origin header is present on the requested   resource. Origin ' link ' is therefore not allowed access....
asked by 11.09.2015 / 03:09
0
answers

Popover does not work when added dynamically by jquery

I have a div with a lot of information and a popover (Bootflat). When I add via jquery another equal div, the new popover of the new div does not work. (the div is formatted correctly and the popover code is also correct) Below, the 1st tr...
asked by 19.11.2017 / 18:55
1
answer

Automatic input validation

I am creating a login area and I had a question: I want to know if there is a way to verify in my database if the email entered in the registration field is already in use on my site, but I want this is done automatically (after the client type...
asked by 17.11.2017 / 04:54
1
answer

How to make an array of value with select multiple

I have a jQuery jQuery jQuery jQuery jQuery jQuery jQuery jQuery jQuery jQuery jQuery jQuery jQuery jQuery jQuery jQuery jQuery jQuery variables of my select. let form = $('#form-pessoas-cadastrar').serializeArray(); console.log(form); $.po...
asked by 01.12.2017 / 01:40
1
answer

How to give Get in Response Status

I am implementing a MailChimp API for a website. I would like to use as condition the status obtained in response by the server according to the following codes: JQuery / AJAX: $('#subscribe').on('submit', function (event) { var values...
asked by 14.11.2017 / 16:15
1
answer

jquery maskMoney function does not work in div loaded via ajax

I have a page where I am refreshing with ajax only on div conteúdo . It is configured like this: div1: I load 2 selects where the user will choose these 2 data (class and bimester) div 2: I load the application menu (menu.php)...
asked by 14.11.2017 / 19:26
1
answer

jQuery smoth scrolling is not working

When I click once on one of the options of nav , it works, but if I double click or if I'm in an area and click to go in another area, it gets lost and buga total, I do not know what to do and I've tried using all possible JS. HTML:...
asked by 15.11.2017 / 01:20
1
answer

How to force jquery change action within php while loop

Good afternoon, I'm trying to make the jquery change action work within a modal that is within a while loop in php, where I use a select from the STATES field that populated another select from the CITIES field when I ran the first record of my...
asked by 17.11.2017 / 19:38
1
answer

How to separate values from a json response and sum your results?

I have the following AJAX response: [{"valor":"100","dt_month":"11"}, {"valor":"150","dt_month":"11"}, {"valor":"1324.50","dt_month":"9"}, {"valor":"12.35","dt_month":"5"}]' I would like to split into two arrays, with valor adding...
asked by 30.11.2017 / 17:30