Questions tagged as 'html'

2
answers

getElementById when the id is a php query

Good morning I have a checkbox with the id defined by a result of an sql query in php <input type="checkbox" id="<?php echo $row['identificacion']."1"; ?>" onchange="return habilitar()"> and I'm trying to put it in a getElementB...
asked by 05.01.2018 / 16:45
1
answer

Misuse of confirm () with PHP and Javascript

I have a table with sorted data in rows and columns. A column is for delete , with checkboxs selected, when we press the DELETE button and a " confirm () "to confirm the deletion or be canceled. In the second question I have the prob...
asked by 06.01.2018 / 18:59
1
answer

Delete checkboxs when canceling confirm ()

I have a table with data and some checkboxs corresponding to their respective row. If I select one or several checkboxs and click Delete , you will ask me in a " confirm () " if I want to delete them. If I click on " Accept ", it deletes th...
asked by 06.01.2018 / 00:58
2
answers

How to change the date format received by $ _POST?

I am developing a small application with PHP and HTML , and I see myself in need of changing the format of <input type="date"/> since it is the English format and I need it in Spanish. I have no idea how to do it, I'...
asked by 06.01.2018 / 20:05
3
answers

Notice: Undefined index using POST in php

<!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <title>Enviar Datos</title> </head> <body> <form action="procesaDatos.php" method="post"> Nombre: <br&g...
asked by 08.10.2017 / 15:50
1
answer

The data is not saved when it is sent

Greetings to all, I have this form that sends data without leaving to another page, but when doing it with ajax, the other page does not receive the data,  specifically in the client form. here my code. function openCity(evt, cityName) {...
asked by 09.10.2017 / 21:51
1
answer

Why is not the selected data kept when clicking search?

I have a search engine in which I have a select called personas . I would like to keep the data of select when I click on the "Search" button Why is not it kept and number 2 always comes out? I guess it's because of...
asked by 03.01.2018 / 19:46
1
answer

Upload an image by HTML URL - JS

Good morning I'm doing a form in HTML with JS and I have a field to enter an image by URL my idea is to enter with an input type { input type="url" placeholder="Enter URL of the image" > } My question is how can I show the image...
asked by 01.10.2017 / 05:10
1
answer

problem with an increaseable form

Hello friends I have the following problem I have an incretable form inside an html table, everything works perfect, the problem is the following in incremental form I have a drop-down list, when I choose the option of another user I enable an i...
asked by 07.10.2017 / 14:01
1
answer

Problems with perl using CGI

Global symbol "$mysqli" requires explicit package name at register.cgi line 15. Global symbol "$dbh" requires explicit package name at register.cgi line 30. Global symbol "$dbh" requires explicit package name at register.cgi line 36. register....
asked by 08.10.2017 / 04:13