Hello everyone, I'm creating this script to check the largest number and apply it as a discount, but I'm having trouble identifying the number greater and make the calculation.
The question is how to get the values with the comma and return...
I'm trying to make a code that shows and hides some divs in the click, I tried to use css to help me, but I could not. By the below logic in the click of the "topic" it removes the display class from all items, and adds to the clicked class the...
I have a select component that brings the countries of the database
<div class="form-group col-md-4">
<label>País *:</label>
<select required="required" id="selecionaPais" ng-model="pessoasEnderecos.pais.idPa...
Well, I've seen this on some websites until I looked for an example on the internet but I did not find it so I'll ask for help here.
I've seen this on some sites and now I need to implement a footer in slider running the site partners, if...
I have the following code snippet in jQuery:
$('#btnFiltros').click(function () {
if ($('#divFiltros').css('visibility') === 'visible') {
$('#divFiltros').css('visibility', 'collapse');
$('#divFiltros').css('display', 'none...
I want to make an input appear when I click on the label , when I click outside the input, that is, focus on it, I would like it to disappear.
HTML:
<form action="/" class="search">
<fieldset>
<label for="pesquisa...
I'm doing a simple query via getJSON, but it's not returning the values to be shown.
File testJson.php
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Documento sem título</title>
<script...
Suppose I have:
var develop = 'confirmName1'
And I want to create a new variable from the value of the variable develop ("confirmName1"):
var 'confirmName1' = 'valorDaNovaVariavel'
alert(confrirmName); // Retornar: (String) valorDaNovaV...
I made a code that after selecting the radio button it sends to a page but it is giving refresh and I do not want it I want it not refresh on the page but keep sending and also I want when sending it appears a alert I...