Questions tagged as 'html'

1
answer

Create mask for weight (kg)

I need a mask, preferably in Javascript, for the user to report their weight in KG. That is, to two decimal places and separated by commas.     
asked by 07.02.2018 / 15:45
3
answers

Set div height to 100%

I'm putting together a layout using Bootstrap 3 and wanted to do a layout like this: +-------------+---------------------------------+ +-------------+ + +-------------+ + +---heig...
asked by 13.02.2018 / 21:12
1
answer

If there are spaces in the folders or images, how do I solve them?

In case I'm learning WEB (HTML, php, Css and Javascript), and for html there is a function for images, however I came across the difficulty of sending an image if it has spaces in the name or path. <body> <img src="../../pictures/Sa...
asked by 13.02.2018 / 23:39
1
answer

Why is not pulling the variable GET id? [closed]

index.php <table border="0" width="100%"> <a href="insere.php">Adicionar</a> <tr> <th>Nome:</th> <th>E-mail:</th> <th>Açoes:</th...
asked by 05.02.2018 / 14:09
1
answer

Store user ip when entering site

I want to display a welcome video on my website only when it is the first time the user enters my site, I thought about using the following code: $ip = $_SERVER['REMOTE_ADDR']; It returns me the ip of the user and so I would store in the da...
asked by 06.02.2018 / 12:09
2
answers

Is there a standard for Media Query application?

I'm starting to learn about Media Querie now and I have a question that I did not see the answer to. Is there any standard in the media application querie? It is correct to have a media-querie.css file with all modifications or the correct...
asked by 05.02.2018 / 20:10
2
answers

Show and hide according to another event

I have 2 show / hide buttons of 2 groups: group1 and group2. When I click to open group1, for example, it opens a card with information from that group and when I click hide it it hides. So far so good! What I want is that when I click on...
asked by 05.02.2018 / 19:09
1
answer

How to do OnClick action in Select Option [closed]

I need to do an onclick action on each option of a select with a different link according to each id, but it is not working. $label .= "<select size=\"1\" name=\"modulo\" class='form-control'"; $label .= "<option value=\"0\" selected=\"...
asked by 05.02.2018 / 12:54
5
answers

Getting html class with PHP variable in javascript

I'm trying to get the value of a select from jquery from the class, but this class has part of the value as a php variable. Currently my code looks like this: echo ' <select name="contarecebvenda" class="selects2'.$linha[cod].'" id="...
asked by 23.02.2018 / 17:06
2
answers

Check Negative Balance

Via JavaScript or Jquery, I need to check if there is any negative balance. If you have a negative balance, then: var BALANCE_DISPONIVEL = 0 if no: var BALANCE_DISPONIVEL = 1 Below is the html source: <html> <head> &...
asked by 23.02.2018 / 14:04