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...
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=...
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...
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...
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...
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",...
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...
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...
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...
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...