I have a code when the person clicks add the code generates other forms .. but how do I in each form have the option to delete? Note: I do not want to delete the last one added but a certain one.
var counter = 1;
jQuery('a.add-author').cl...
I'm using the change event in a select field, in which the corresponding option is the id of a div, what I'd like to do is display the selected div and hide the other dives only if it is visible or hidden, in a dynamic way if a div that was hi...
I am sending the following data to save a form:
function editaFeira(id, descricao){
if (confirm("Confirma a alteração de " + descricao + "?"))
{
$.ajax({
type: "POST",
url: "functions/editarFeira.php",
data: {id: id,
d...
When you open the page on localhost it goes directly to the footer:
Anditdoesnotstartintheheader: Theproblemisintheform,butIhavenoideaofpq..]code:<formid="contact" action="mail_send.php" method="post">
<h3>Precisa de Ajuda?</...
This is my select, I have tried to use it for a long time, I do not know how it works, I see that many great websites use it and the user selects the city, it shows the respective content, but the URL does not change.
<form action="cid.php"...
I'm creating a message using the Sweet Alert feature, and where I need to display the person name inside an Alert from a PHP variable >. So, I would like to know how I can do it correctly.
Obs :. The connection to the database is working...
I am making a password validator.
I made a method to validate if the password requirements are not met the save button is disabled, if they are answered the button enables, but it did not work ..
Let's see.
<form novalidate="novalidate"...
I have this script that makes a request for a php page, the problem is that it is not bringing the input value to the php file. How could I solve this?
php
$mail->MsgHTML('corpo do email'. $_POST['email'].'');
jquery
$(document).on...
I have a form with several inputs number, each input has an attribute called product_val that contains a value.
I need to change the contents of an input (change), a particular function captures all the inputs of the form, get the valu...