Questions tagged as 'html'

2
answers

How to make an HTML form stay responsive

I have an HTML and CSS form that is perfect on my site, but when I try to open it on a mobile device (mobile phone or tablet) it gets totally distorted. I'm using Bootstrap as a CSS framework. My code: .tudo-border-box { box-sizi...
asked by 30.08.2018 / 03:10
2
answers

JS - How to get the selector of the Element or its tree?

Hello, I'm trying to do a function that when I click on an element I can get either the tree (all parents) of the element (up to the body or a specific tag), or get something similar to "Copy -> Copy Selector "from DevTools. Forexamplewhe...
asked by 30.08.2018 / 16:10
1
answer

Capture rel of each clicked link and go adding in the value of an input hidden

I have the following structure, I need to create something "similar" to a shopping cart. When creating in a link I need to get the rel of that link and go adding in the value of input hidden, but I do not want to repeat values, eg: If I clicked...
asked by 29.08.2018 / 20:39
1
answer

Conversion of SESSION MySQL to SESSION in PDO

How do I convert this SESSION below MySql to PDO. <?php if(count($_SESSION['carrinho']) == 0){ echo '<tr><td colspan="5">Não há produto no carrinho</td></tr>'; }else{ require("conexao.php");...
asked by 15.07.2018 / 15:08
2
answers

How to write to the mongodb API

I have this API (Controller) [Produces("application/json")] [Route("api/[controller]")] public class TypesFieldsController : Controller { private IAddTypeFieldService addTypeFieldService; public TypesFieldsController(IAddTypeF...
asked by 16.07.2018 / 15:43
2
answers

Anchor link to direct to a div does not work

I'm using Angular 2+, I'm trying to add an anchor that when clicked will take me to the target div, but when I click on the anchor, my site is reloaded and adds the #parallaxdiv link after the localhost ... in instead of moving to the link. I...
asked by 17.07.2018 / 20:36
1
answer

Separation of Tabs

I made the separation in Tabs of two sections, but they are not divided and end up coming in the same separation, regardless of which separation I click. I would like it to be displayed, only one tab at a time. <!DOCTYPE html> &l...
asked by 16.07.2018 / 20:19
1
answer

PHP page within a DIV after submitting

I have a form where the user types which equipment he wants to consult and AFTER to click confirm, need the fields with the information to appear. These fields are in another PHP file that will make the selects based on the data selected in...
asked by 24.05.2018 / 19:28
1
answer

Error getting data from input radio

Well, I'm having the following problem while submitting the form: Hereispartoftheformcodeandvalidation:<divclass="form-group"> <label for="sexoFunc" class="control-label col-sm-2">Sexo:</label> <div class="radio...
asked by 24.05.2018 / 15:18
2
answers

Checking if inputs are empty with JavaScript

I have the code below that creates three fields in HTML These fields go through the checks with JavaScript , but the part that should check if the person typed something does not work, am I doing it the right way? function chec...
asked by 29.05.2018 / 19:42