Questions tagged as 'html'

0
answers

Bootstrap Tab Responsive

I have some tabs and I want to leave responsive. I found an example in codepen, using version 3.3 of Bootstrap. In the project I'm working on, they used 4.0.0-alpha-6. NOTE: VISUALIZE WITH THE SCREEN LESS THAN 480px, only applies the rule wh...
asked by 26.03.2018 / 21:41
2
answers

Summing the data of an html table

I would like to display the total value and not NAN ... function sumQuantity() { var elements = document.getElementsByClassName('itemTable'); var sum = 0; for (i = 0; i < elements.length; i++) { sum = sum + parseFloat(...
asked by 26.03.2018 / 21:36
2
answers

Format date from the SQL SERVER Database

The date that comes from SQL SERVER comes in the following format: 20181212. I tried formatting, but it only works if it comes in the 2018-12-12 format. I put this date inside a table by the API I pull where the data is (date comes from the A...
asked by 16.03.2018 / 13:37
1
answer

Problems alignment dropdown menu

I have a dropdown menu in WordPress on the Services tab, but when I resize the page zoomed, the menu is not following its parent element, Follow the image and code. ul.sub-menu { display: none; padding: 0px;...
asked by 16.03.2018 / 13:57
1
answer

Javascript Problem Collapse

I have a list with collapse to play different content in the same place, I just need that when I enter the page the first item in the list is selected, I have a script that does the function to close a div if the user click another, here are the...
asked by 16.03.2018 / 13:06
0
answers

Fill PDF form from HTML?

Is it possible to fill only the editable fields of a PDF form via HTML data and continue to leave these fields as editable in the PDF itself? (PDF form)     
asked by 20.03.2018 / 01:15
1
answer

PHP- Upado file does not go pro directory defined

$arquivocom = $_FILES['submetidocom']['name']; $diretoriocom = "C:/Users/NEWGRID/Documents/uploadcom/"; move_uploaded_file($_FILES['submetidocom']['tmp_name'], $diretoriocom.$arquivocom); if (file_exists($arquivocom)){ echo...
asked by 20.03.2018 / 14:38
0
answers

Problems using data coming from while

My problem is as follows, I have a page called index.php with the following code <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <form method="POST" action="quest...
asked by 16.03.2018 / 00:16
0
answers

How can I create a rectangle with Java Script

I'm trying to create a rectangle using Javascript, avoiding using canvas functions like moveto and drawto. But my rectangle does not look good. Here is the code: function retangulo(x1, y1, x2, y2){ let horizontalx = x2 - x1;...
asked by 24.03.2018 / 15:35
1
answer

Activate button according to page

I have a set of divs below the header (cardiac, abdominal, facial ...), each with its respective link, using the same names. I need when I select one of the buttons, it becomes "active" even with the page exchange, because each button has its ow...
asked by 15.03.2018 / 20:02