Questions tagged as 'html'

2
answers

How to "validate" input

I'm looking for a method to check if the input's required with the page are valid every time I click the save button, but I'm trying to do this without having to check one by one, below what I've done. I had to leave the button as "type = 'bu...
asked by 27.04.2018 / 16:48
1
answer

How to set var JS value for html field?

I have the following code that: When a field goes into focus it calls a function to check which field is in focus to change the value of a variable in a tooltip! Example: //Aqui quando o campo entra no focus ele chama a função Aalerta p...
asked by 12.12.2014 / 17:05
1
answer

JQuery - access array error

I need to compare two arrays, one with calendar days and one with registered days. When the registered day is corresponding to the value of the innerHTML property of the array of div it should paint the background of this div...
asked by 02.01.2015 / 22:19
2
answers

HTML code in the body of the email

I have created an HTML code to send information to clients of the company where I work, when I send e-mail to *@hotmail.com accounts or to their professional accounts *empresa.com.br everything is displayed correctly, however when...
asked by 31.01.2018 / 11:58
1
answer

How to insert the loaded button into the database

In my code I have 3 buttons, which serve for the user to sort the service: <input type="submit" name="verde" class="verde" value=""> <input type="submit" name="amarelo" class="amarelo" value=""> <input type="submit" name="vermel...
asked by 05.06.2018 / 14:02
1
answer

Change CSS value according to Scroll

I need to, when I scroll the page, apply css to div, for example: When the user arrives in the middle of the site, or in the desired section, apply a CSS from this point to a div , as it scrolls down the page, it changes the value of th...
asked by 20.12.2017 / 20:26
1
answer

Print table with ajax and php

I am trying to print a table using php, ajax and mysql. I have this stretch in Html <!DOCTYPE html> <html> <head> <title>Teste Ajax</title> <?php require("cabecalho.php"); ?> <script src="//code.j...
asked by 30.11.2017 / 17:37
2
answers

Return div to start position after animation?

How can I do to return my div to the starting position if it reaches a certain point on the left? I have the following current code: $(document).ready(function() { $("#botao").click(function() { $(".maior").animate(...
asked by 17.06.2014 / 19:18
2
answers

Creating a diagonal div

Well, I'm having doubts about creating a div, with two elements, separated by a diagonal line, according to the image below, how can I create it? The text should stay straight The Skew property, as directed by some users, does not wo...
asked by 18.09.2017 / 20:37
1
answer

How to make a horizontal list of images that will not break?

I want to make a list of images horizontally, but they are falling, look: My CSS: #fotos{ margin-top:30px; width:650px; overflow-x: hidden; height:110px; border:1px solid #CCC; } #fotos ul li{ margin-right:4px;...
asked by 10.05.2014 / 02:01