Questions tagged as 'html'

2
answers

Why does a function invoked by onclick not influence commands external to it?

As can be seen in the code, the declared variables are global, and the routine should display the result on the console as soon as the "Submit" button was selected. <!DOCTYPE html> <html> <head> <meta charset="utf-8">...
asked by 16.03.2018 / 21:03
2
answers

Interactive HTML and PHP form

I'm having an activity and I'm stuck on this question: Create a program in PHP , where the form has choices of geometric shapes (triangle, square, rectangle and trapezoid.). Once the user selects the figure, he can type in the fields the val...
asked by 19.03.2018 / 00:28
2
answers

Items in levels within an HTML ComboBox. It's possible?

Let's say you want to list in a ComboBox items for sale on an e-commerce site. But in this list, I want the category name to appear first and below the items. Example: Sports Bike Boots Decoration Carpet Curtain But it wou...
asked by 23.03.2018 / 20:35
1
answer

How to 'reverse' Google Charts chart?

I have the following graph that I generate using Google charts: google.charts.load('current', {packages: ['corechart', 'bar']}); google.charts.setOnLoadCallback(drawStacked); function drawStacked() { var data = google.visualization.arrayToData...
asked by 20.04.2018 / 21:48
1
answer

Navbar with upper margin when adding position: absolute; in a text

Good morning everyone. When I change the position of the text to top of the site to position:absolute; my nav bar has a slight margin at the top. how can I resolve this? var TxtType = function(el, toRotate, period) { this.toRot...
asked by 04.05.2018 / 17:15
2
answers

Button that changes site color

I'm trying to make a button on my website that is sticky, by clicking this button, it collapses right and shows a container with a certain number of colors available for the user to choose, the user choosing the color pallette , the site will ch...
asked by 08.05.2018 / 03:39
2
answers

Open page after upload

I'm thinking of doing this using jQuery and I have used some methods already available on the internet but they are not working. I tried to modify it more, I think I'm doing it the wrong way. What I want to do: The page should open after load...
asked by 01.06.2014 / 03:14
1
answer

Bootstrap - Merge rows

How do I merge two or more cells into Bootstrap? I will post the code: <div class="container"> <div class="row-fluid"> <div class="span4">4</div> <div class="span8">8</div>...
asked by 03.06.2014 / 14:28
1
answer

jQuery DataPicker error on page with Ajax

I'm finalizing a registration page and realized that jQuery Calendar after being uploaded a second time does not work. $(function() { //Mascaras para Calendário.... $( "#datepicker10,#datepicker11,#datepicker12,#datepicker00" ).datepi...
asked by 28.05.2014 / 00:04
1
answer

Changing the color of the td without updating the page with ajax

How to solve this problem, I saw that there are solutions in ajax but I could not develop, what I need is to change the color of the td of a table without having to refresh the page , the color change of the td should happ...
asked by 05.06.2014 / 02:59