Questions tagged as 'html5'

2
answers

How to use windows.onclik to close a dropdown menu? Or simply close it

You see I have two dropdowns menu which are opened by clicking a button (each button has its menu). Well. The code of that two menu is the same except that I made changes in the classes and Id so that to each I give different styles with css and...
asked by 14.10.2016 / 02:55
3
answers

No click event is executed

I am trying to send a form from an ASPX page to AJAX but it does not enter the event function click of the button in the JavaScript part, I have removed the runat="server" from the form but it generates an error; so I do not know w...
asked by 04.02.2016 / 17:28
3
answers

preventDefault href does not work

I would like to eliminate the redirection in the a tag since currently when I click, a modal opens, but I do not want to be redirected to the browser page, I have tried with preventdefault and it does not work for me. I'm working w...
asked by 25.02.2016 / 13:29
1
answer

sending an email with php from a local server

I am making a web application and I need to send the form data to a specific email, here the form code <!DOCTYPE html> <html> <head> <title>prueba</title> </head> <body>...
asked by 25.07.2018 / 06:20
2
answers

Does it really work to specify a margin and a padding to 0 initially?

I have seen that it is very common that as soon as you start the css, many files start with: *{ margin: 0; padding: 0; } Used in theory so that all elements have no padding or margin. Does this really work? Because I have had many t...
asked by 26.04.2018 / 09:28
3
answers

Show or hide items depending on two radio buttons

I have managed to show a div according to the response of a radio button , but how can I do to show the same div but with the combination of two radio button ? I share my code: function mostrar(dato) { if (dato == "...
asked by 03.07.2018 / 14:43
1
answer

Problem when changing image in carousel bootstrap 4

My problem is as follows, I have a carousel with their respective images (3), at the moment of clicking to change the other image it does not change (I am using bootstrap 4). <!--Carousel--> <div id="carousel" class="carousel slid...
asked by 12.07.2018 / 22:20
2
answers

How do I check 2 mysql tables at the same time?

$sql = "SELECT * FROM 'zzzz_1_post' WHERE POST_autor=1; but I also want to get $sql = "SELECT * FROM 'zzzz_0_post' WHERE POST_autor=0; I'm doing it in a while, but I do not know how to combine the 2 tables at once. My tables: while($...
asked by 27.05.2018 / 03:22
2
answers

Placeholder in a select

I'm using placeholder in my input text type and they work perfect, just that I have a select , in which I want to put a placeholder where it says "select an option", but it does not appear, Does anyone know if I can ad...
asked by 26.10.2017 / 00:22
1
answer

Bootstrap - datetimepicker inline does not work

I need to visualize the calendar in inline form, like this: This is the code I have: <div style="overflow:hidden;"> <div class="form-group"> <div class="row"> <div class="col-md-8"&g...
asked by 22.03.2018 / 14:54