Questions tagged as 'javascript'

1
answer

Change point per comma in price

Good morning, I have this code to update the total. I need to change the. (dot) by, (comma). How do I? Code: <script type="text/javascript"> $(document).ready(function() { $("#evento_quantidade").change(function() { var qtd =...
asked by 24.06.2017 / 16:32
1
answer

Calculate multiple fields

Good evening, I have been trying to calculate several fields in% with% validating if they are with values, I already did something similar in javascript , but realized that it does not work the way I imagined in javaSE . Basically wh...
asked by 22.06.2017 / 05:18
2
answers

Execute function after certain time that has stopped typing (keyup) VueJS or JS Pure

I'm trying to do that as I stop typing in the input, the system waits a second to do my search and return my result, but I can not. The system is being done in VueJS <input class="input" type="text" v-model="valorPesquisa1" v-on:key...
asked by 27.06.2017 / 16:35
2
answers

Pass the search input to another file

I'm doing a car registration project, it's almost at the end, but by altering the style file a bit and tinkering with the list to leave AJAX without refresh a bug strange happened, I've already tried several ways to solve : input w...
asked by 26.07.2017 / 14:55
1
answer

How to return values from two distinct tables php

I am a beginner and wanted to create a function that would return me from the name of the cpf, user and password of the person in the system. Where the name and cpf fields belong to the users table and the user and password fields belong to user...
asked by 22.09.2017 / 21:18
2
answers

Display text contained in span in hover

I have the following html code below: <a class="tooltips" href="#"><strong>!</strong><span>Ingresse o máximo de informações possíveis para uma entrega acertiva</span></a> With the following CSS cod...
asked by 28.09.2017 / 20:52
1
answer

Change textarea's background color when button is clicked

Developed an application in Javascript, Jquery and HTML. I would like to make when the user clicks the btnalterar button, the textarea created changes their background color. Does anyone have an idea how to do this? <...
asked by 24.09.2017 / 13:45
2
answers

html tag within a string displayed one character at a time

When I run the code it writes the "<" of the tag before interpreting it, I would like it to interpret the tags directly without writing the opening signal. var TxtType = function(el, toRotate, period) { this.toRotate = toRotate; t...
asked by 27.09.2017 / 20:16
1
answer

creating a tooltip in javascript for an html with thymeleaf

I have the following div that shows the date of a message inside a table: <div class="data" th:text="${aviso.data}"></div> I need to put a tooltip that shows the date also when I hover over this date element, but I can not d...
asked by 04.05.2018 / 21:06
1
answer

How to check data after submitting form and return result in selected div?

I have two small problems that I have to solve to solve, let's go to the first one: 1- I have the code below right after my submit to verify that the data has been filled out: <?php $data_coleta = $_POST["data_coleta"]; $hora_coleta...
asked by 03.05.2017 / 20:50