Questions tagged as 'html'

1
answer

Searching and changing the value of checkboxes with javascript

I'm trying to fetch and change the values of a checkbox using Javascript. The intention is, when the JS function is called, check that the checkbox is set. If not, seven-a as checked, and vice versa. But when trying to read the state of the chec...
asked by 26.11.2015 / 11:56
1
answer

How do I validate a value without leaving the page?

I'm developing a system with the part of the discount, so I wanted the user to type the discount and after that it would validate if it has or not and the percentage of the discount appears. $cupom = $this->input->post('cupom_desconto');...
asked by 09.11.2015 / 20:12
1
answer

Responsive landing page with bootstrap

I'm trying to create the following layout on my landing page: However,whentryingtocreatethisinHTML,Icannotgettheimagestomakethislist.I'mtryingtousethe"deck" class, without success. <section class="success" id="about"> <div class...
asked by 31.10.2015 / 03:43
4
answers

Custom font in html / css does not work

I'm trying to insert a non-standard font into my html , but it's not working. I downloaded the font and put it in a /font folder inside the css folder. Here is the code: @font-face { font-family: sans-pro; src: url(...
asked by 16.04.2016 / 01:35
1
answer

How to add an image popup when accessing the site

I would like to make a popup similar to the one from Kabum , but without a form, with only one image and the option of close. I searched and found this code: <a href="#" onclick="window.open('http://google.com', 'Pagina', 'STATUS=...
asked by 05.02.2016 / 17:17
1
answer

I can not put a new column inside a table

I would like you to help me put a column (painted in yellow) as shown in the attached image. Ialsoleavemycurrentcodetohelp:<?php$database="anomalias"; $server="127.0.0.1"; $connect= mysql_connect('localhost','root',''); $selecio...
asked by 12.04.2016 / 21:14
1
answer

How to retrieve the value of several dropdownlist (only filled in)

How can I retrieve the value of several dropdowns (only those filled in) The function below does not work correctly. For example, if I select only the second combo has output: , 2 He takes the void as if it were a selection. Can you work aro...
asked by 26.09.2015 / 22:23
1
answer

Client sending String [] instead of BigDecimal to server when changing

When it's a new record it works quietly , the problem is in change . I have a A object that is the master, another B object that is a ArrayList tail and master A detail, and last , a C object that is ArrayList and detail o...
asked by 28.09.2015 / 16:03
1
answer

Take out all html TAGS less the line break

My question is simple, I think. I get via post the description: $descricao = strip_tags(mysql_escape_string(trim($_POST['descricao']))); And when I print on the screen I use: nl2br($foto_user_visitado->descricao) This sho...
asked by 22.09.2015 / 01:40
1
answer

PivotTable

Friends, I need to create a PivotTable in HTML and JavaScript that will work as follows: I have a series of items in a ComboBox, and while selecting, creates a column in a table. After, I add another ComboBox, where I select another item and...
asked by 23.09.2015 / 20:21