Questions tagged as 'html'

1
answer

Close connection to the database

I would like to know if anyone could get me the following question, I connect to the database in PHP like this: $conexao = new mysqli($servidor, $usuario, $senha, $nomeBanco); And I close the connection with $conexao->close(); . If...
asked by 16.09.2018 / 04:03
1
answer

Javascript in several html's

I am learning and using JavaScript and would like to know if it is possible to use scripts from a .js file in several other .html files, with functions and everything else. If it is possible, just call the .js file in .html by the tag <scr...
asked by 18.09.2018 / 18:34
4
answers

How do I insert this into the database through the form?

Hello, I can not connect to the database. The following error is appearing:    Fatal error: Uncaught Error: Call to undefined function msqli_query ()   in C: \ xampp \ htdocs \ Clients \ data.php: 15 Stack trace: # 0   {main} thrown in C:...
asked by 13.09.2018 / 16:26
2
answers

Hide modal when clicking "Close" bootstrap

Well, I have the following file with a modal that was made by a friend for me: However, when I click on Open Small Modal it works fine, but when I next click on close the modal does not close again, against if I click outside the close, that...
asked by 22.07.2016 / 20:53
6
answers

How to remove this black border in this presentation by iframe?

I posted a game on my blogger blog, using a post to make an iframe presentation. Code: <iframe frameborder="0" height="1000"name="ballswar" scrolling="no" src="https://ballswargame53.bitballoon.com/index.html"width="980"><p> You...
asked by 04.08.2016 / 21:31
2
answers

Add form fields with jQuery to be sent in php

I'm using the following code to add a new group of fields to a form that will be emailed to php $(document).ready(function() { $("a[id='addProd']").click(function() { var domElement = $('<div class="block product" id="...
asked by 28.07.2016 / 15:32
1
answer

Change colors on google charts

I'm using google charts to generate 4 pizzas.  How do I change the colors that appear? Follow my code: <?php include("conn_user.php"); include("conn_sys.php"); if (!isset($_SESSION)) session_start(); if (!isset($_SESSION['usu_login'])) {...
asked by 05.08.2016 / 15:29
1
answer

How to get the ID of an element inside a div?

I have a div and some images, each image represents an item in a global array . When I drag this image to% editing% an editing form is enabled, otherwise a form is enabled to create new rule and generate a new image. I need to know wh...
asked by 05.02.2015 / 17:45
1
answer

Align the size according to the larger text

I have a menu and some submenus, I need the submenu to align the width of it according to the larger text, because there are texts that can contain only 5 words but texts in the submenu that can contain 15 , then it needs to be aligned accordi...
asked by 23.01.2015 / 13:13
3
answers

Tag a href without changing location bar [closed]

I use the bootstrap to create applications for the web and I have come to realize that in many examples, they use the <a href> buttons as in this link . I wanted to know how I can work in the same way without having to change the l...
asked by 13.01.2015 / 16:22