Questions tagged as 'html'

1
answer

Insert text of a variable (resulting from an if) within a p after a button click

I am trying to validate the existence of a class in 3 ids to return a text that will be inserted into a p after clicking on the submit button of a form. I inserted the onclick button with the function as value. I do not know where I'm going wron...
asked by 18.08.2018 / 23:54
1
answer

Fixed values and values in javascript looping

The code below creates new input and sends the values to textarea , since the number of input is undefined it was necessary to loop to get the values through name , it works normally if it is only <li>${inp1[i]...
asked by 07.08.2018 / 17:23
1
answer

JavaScript in Image

I have the following html: <div class=" row container-fluid" id="quemsomos"> <div class="col-md-6" id="nossoperfil"> <h4> Nosso Perfil </h4> <p> descrição sobre a empresa </p>...
asked by 08.07.2018 / 06:13
1
answer

Direct to page with option already selected

I need when the user clicks a link it already directs to a page where it has a select. So far so good. The problem is to direct to this page and one of the options is already selected. For example: a { text-decoration: none; color...
asked by 05.07.2018 / 15:12
1
answer

How do I automatically generate a favicon?

Hello, I'm creating a login API for clients, when the user generates "the page" he uploads the logo of his company to the server, but in addition to uploading the logo it also creates a favicon automatically, does anyone have any idea how to do i...
asked by 06.07.2018 / 14:59
1
answer

Clicking on a button and get the row values of a table

I'm doing a project in nodejs / javascript and I'm trying to get the values that are in the row of a table. When clicking on the button on this line will get me these values and anger sends them to another page. I basically want to get the ce...
asked by 05.07.2018 / 23:40
1
answer

Site content disappears when you place accents

Hello, I'm creating a dynamic website with ajax, but when in the database it has an all but dynamic accent disappears. I already tried <meta charset="utf-8"> in the html file and it also did not work. Can someone help me? AJAX...
asked by 05.07.2018 / 17:14
1
answer

Galera, how do I give a "submit" in an input generated via js?

I'm generating this input with its name whenever the user clicks on the Add button, however, when I try to retrieve this value after the submit, it says "undefined index test". (being that it assigns in js) 1 - JS for input generation 2 - Inp...
asked by 06.09.2018 / 23:17
1
answer

How to insert an HTML file inside a PHP variable?

Talk to people, I have a file named post_forms.php that takes the results of $_POST[] , must fill variables inside the form_xxx.html file, create a PDF with the DomPDF lib and send with PHPMAiler. See a part of each file:...
asked by 08.09.2018 / 16:36
1
answer

Touch effect / click and drag with mouse

I have a gallery with horizontal scroll, I would like to know if it is possible to put a click and drag to move the scroll, like a touch dragging with the mouse. obs: images will be linked. My Gallery: function mostra(theId){ var th...
asked by 07.09.2018 / 08:37