Questions tagged as 'html'

1
answer

Add a different image in a div to each loop using javascript

I need to add a different image to a div. For this I used a for to do this loop. Is there any manipulation I can do in the img tag that I'm adding so that every loop is changed in the image name? for (i = 0; i <= 16; i++) { $('#p'...
asked by 21.06.2017 / 22:43
0
answers

How to convert HTML to PDF in Javascript?

I need to convert an HTML made in TinyMCE to PDF editor. It turns out that text written in the editor will contain tags that will be exchanged for database record values, such as a mail merge. I was able to do this using HtmlToPDF, but it did no...
asked by 05.06.2017 / 22:30
1
answer

How to capture the code of a table generated via html?

I created a table with data by HTML and PHP, how do I generate a string from this table with this data so I can play in my DOMPDF load_html?     
asked by 26.06.2017 / 19:49
2
answers

Aligning Counter on top of Icon

How to do it correctly where the counter is always in the same position as shown below  Heredependingontheresolutionitleavestheposition HowIwantedittostayMyCode <!DOCTYPE html> <html lang="en"> <head> <meta http-...
asked by 02.07.2017 / 18:53
0
answers

How would an event similar to what occurs in the input range?

I'm creating a custom progress bar for videos, however I'm having a hard time detecting when the user tries to drag the pick across the video bar, I want to simulate something like what happens in a input type rage <input type="r...
asked by 08.05.2017 / 03:32
0
answers

Table printing problem

I have a product table and I'm putting the layout of it to print. I'm using the tag so that the column title repeats with each new page in the impression but the client did not like the result that appears in the print below. This block of te...
asked by 11.05.2017 / 18:48
1
answer

PHP does not save form data to the database

I'm starting in PHP and I'm having problems with the following code <?php define("SERVIDOR", "localhost"); define("USUARIO", "root"); define("SENHA", "leonardo"); define("BANCODEDADOS", "estacionamento"); $conecta = new mysqli(SERVIDOR,...
asked by 11.05.2017 / 05:29
1
answer

How to get information about the tag targets of an external url

I need to get the content of this tag: <meta property="og:image" content="www.meusite.com.br/imagem.jpg"> and put on my site as facebook does in that image:     
asked by 10.05.2017 / 21:50
3
answers

CSS - stylize a hyperlink

I have a hyperlink that I need to stylize using CSS making it look like a button with clear CSS, my question is that as I call a hyperlink in CSS, I already tried with div, already tried to assign an id to the tag. > <td><a href="delet...
asked by 01.05.2017 / 21:25
0
answers

With loading a google chart using Spring MVC

I have a jsp page with the following code that uses google charts and shows the graphs on the jsp page. When I use a servlet as a controller it works perfectly. <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html>...
asked by 09.05.2017 / 21:05