Questions tagged as 'jquery'

2
answers

Change place div with jquery

Let's say I have a div mother, and within that div I have other 3. And a Button. <div id="mae"> <div id="a" class="child"></div> <div id="b" class="child"></div> <div id="c" class="chi...
asked by 04.09.2015 / 01:46
2
answers

Change one combobox from the other

Colleagues. I have a combobox which has the hotels list: <select name="Hotel" id="Hotel" class="form-control"> <option value="Selecione">Hotel</option> <option value="Hotel A">Hotel A</option> <option value=...
asked by 27.08.2015 / 20:15
1
answer

Select element, ignoring specific class

Come on ... Suppose I have something similar to the list below. <div id="respostas"> <div class="historico"> <div class="lista"> <div class="enviando"><strong>verbot</strong> curar</div...
asked by 04.07.2017 / 19:16
3
answers

How to fire a message with every click in jquery?

I have a 'form' to calculate the IMC index, with each click on a button displaying a message div with the result of the calculation, however I want the message to be displayed a once per click . This image shows my current code: Followtheon...
asked by 24.04.2016 / 16:09
4
answers

Mask in Rails fields

I'm getting a theoretically simple thing, I'm looking for a date mask on my application.js : //= require maskedinput jQuery(function($){ $("‪#‎datadoacao‬").mask("99/99/9999"); }); In my partial form: <%= f.text_field :data_doaca...
asked by 27.07.2016 / 05:32
1
answer

Change the value of a h1 with jquery?

I'm making an ajax call and need to change the value of the <h1> tag with the response: $('#openTickets').ready(function() { var open = $.ajax({ time: 15, url: "/opened-tickets", dataType: "JSON",...
asked by 01.08.2016 / 16:10
2
answers

How to get the last (max) tabindex, from an html form, using jQuery

I need to get the last 'tabindex' of a form when the user clicks 'tab' or 'enter' back to the first one. Follow the current code: $(':input').keydown( function(event) { if ( (event.which === 13 || event.which === 9) && !event.s...
asked by 28.05.2015 / 19:23
2
answers

Fullpage JS, running on different pages

I'm developing a project in AngularJS and I'm using Fullpage.js for scrolling the pages. So far so good, the problem is this: Because I have internal pages, I also need to use script scrolling on these pages. But even creating the function as...
asked by 20.07.2016 / 14:20
1
answer

Javascript command / copy and paste Jquery (ctrl + c)

I simply want the Javascript command to copy and paste, regardless of whether it works in all browsers. There is a similar question here. But it requires it to work on all browsers. > Cross-browser way to copy text to Clipboard This othe...
asked by 05.07.2015 / 17:14
2
answers

Error 500 in ajax request with asp.net mvc

Good morning, I have a problem that I can not resolve. I made a simple ajax request in my code to fill in the fields automatically if the cpf entered is already registered in the database. Well, on the day I did everything worked and was w...
asked by 03.07.2015 / 15:13