Questions tagged as 'html'

1
answer

Insert elements using JavaScript insertBefore

I'm trying to perform an insert operation in my JavaScript code, but I'm having a hard time using the insertBefore function. First, I'm creating an element of type "ul" and inserting it like this: var novaLista = document.createElement("u...
asked by 14.03.2016 / 01:51
1
answer

Directional Arrows in Object

I did a city search using Javascript. There is a text field in which the user types the city name. And while he is typing the letters, the respective cities starting with that letter appear in a ul > li under the field for the user...
asked by 11.03.2016 / 18:44
1
answer

Google Chart - Bar Chart change Background (Background)

I have the Code: <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script><scripttype="text/javascript"> google.charts.load('current', {'packages':['bar']}); google.charts.setOnLoadCallback(d...
asked by 13.03.2016 / 15:26
1
answer

Validate Form without page change

I have a certain input of type submit that when clicking acts on a pagina.php . I wanted to do this, but when I clicked it it would not change pages, but it would act on that pagina.php . HTML: <html> <...
asked by 06.03.2016 / 02:24
1
answer

submit link with javascript when selecting checkbox

I have a checkbox, and I need the javascript to send the link according to the selected checkbox. Example html: <input type='checkbox' id='1'> <input type='checkbox' id='2'> <input type='checkbox' id='3'> Javascript...
asked by 05.03.2016 / 14:31
1
answer

Images are not inside the div

I have a div where I want to leave 2 images on top of each other, and only the image checked in an input will be visible, while the legend of the visible image should position itself to the right of the image. However, I'm trying to leave the co...
asked by 04.03.2016 / 15:12
1
answer

When the time reaches 0, the button becomes disabled

Good is the following I have two files. First File (index.php): <!DOCTYPE html> <html> <head> <title>Teste</title> <script src="http://code.jquery.com/jquery-2.2.0.min.js"></script><s...
asked by 04.03.2016 / 23:55
1
answer

Open div according to combo selection

I need to include rows in a table with textbox fields according to combo selection. The x is that if the user selects in the Employees combo = 2, it should display the Name 1 and Name 2 textbox, if you select Employees = 3, it displays the Na...
asked by 23.02.2016 / 19:21
1
answer

Problems setting width to div, flap system

I have created a simple tab system, using css, html and jquey. But I'm having a problem setting the% of the% of tabs. To get easier to explain I'll post the code here: function corrige_altura() { $('.tabs-container').css({...
asked by 23.02.2016 / 21:41
1
answer

How to receive the selected item from a combo box and use on another select?

Good morning Programmers .. I need a favor, next I have a combobox that is generated through a select until then everything ok .. I need to receive this item selected by the user and save the information because in the next combobox I use this i...
asked by 10.05.2016 / 16:16