Questions tagged as 'html'

1
answer

IF condition with database

Personal I'm doing a money transfer system via php with database, I have an option showing all users of the database and a text field to insert a value, as I do so that the user can not get select it yourself and raise your money Field code:...
asked by 30.07.2018 / 22:09
1
answer

Use good practices or the correct way to store an ID

Currently when I need to change some client data, I store the ID in input hidden , but this is visible if you inspect the element giving the freedom to someone who has more experience manipulating the system. Is there any right way to d...
asked by 28.07.2018 / 20:53
1
answer

Navbar Bootstrap

I'm starting in web coding and need help on a problem, the menu I created is not correct, it was not formatted as indicated in the bootstrap documentation, it's listed. Curso ------------ Início Perfil Serviços Depoimentos Contatos Foll...
asked by 17.12.2018 / 19:16
1
answer

How to add caption to a chart using ChartJS?

I created the following chart: var data = [ { value: 300, color:"#F7464A", highlight: "#FF5A5E", label: "Red", subtitle: "texto" }, { value: 590, color: "#46BFBD...
asked by 18.12.2018 / 01:28
1
answer

javascript syntax error

I came across the following syntax error in javascript / jquery    Uncaught SyntaxError: Unexpected number And I'm using the Number.prototype.formatMoney plugin can it have anything to do with it? Plugin Number.prototype.formatM...
asked by 03.09.2014 / 19:34
1
answer

Select specific items within a while loop

I have the following HTML inside a PHP while fault: <article data-id="1">...</artcile> <article data-id="2">...</artcile> <article data-id="3">...</artcile> <article data-id="4">...</artcile> <...
asked by 01.09.2014 / 17:19
2
answers

Return parent tag ID when clicking a button

I have a set of buttons where I want to return the ID of the parent tag when a button is clicked to implement a function. <div id="botoes"> <button data-for="cod" onclick="checkbox(this)">cod</button> <button data-for=...
asked by 10.09.2014 / 19:03
1
answer

Submenu of the same menu width

The submenu is the size of the text, I would like it to be the size of the menu header { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px...
asked by 27.05.2018 / 04:57
3
answers

How to return the value of type radio

Good morning! I'm having a problem I'm trying to return the value of a radio field by printing on the screen to give a type of return to the user before clicking the send. I'm currently testing on top of a script I found, but without much suc...
asked by 28.05.2018 / 16:12
1
answer

Get image address, jquery

Hello, good morning! I would like to get the SRC value of the IMG tag, using js / jquery. In this case, it would be link <html> <head> <title>hello</title> <script src="https://ajax.googlea...
asked by 03.11.2018 / 17:16