Questions tagged as 'html'

2
answers

Insert Option with javaScript

I have a dynamic form. With a radiobutton field and a select . According to the value that I select in the option I populate the field list with values selected. Example. Option 1 Option 2 When you select option 1, the select fie...
asked by 19.10.2018 / 19:36
2
answers

Show higher value and name

I have the following code: <?php $consulta = mysql_fetch_assoc(mysql_query('SELECT MAX(pontos) FROM usuarios')); echo intval($consulta['MAX(pontos)']); ?> However, it only displays the highest value, I wanted it to displa...
asked by 11.12.2018 / 14:59
1
answer

HTML Slider Error [closed]

Hello! I have an HTML slider and I'm deploying PHP to make it manageable, however, when I put PHP, the slider has stopped working. I think it's an error in the following part of the code: echo '<div class="col-md-12" style="...
asked by 17.01.2017 / 05:21
3
answers

Angularjs Format date

How to format the date in the controller of input type="DATE"? I have this return in the controller ... Sat Aug 06 2016 00:00:00 GMT-0300 (Hora oficial do Brasil) Mon Aug 01 2016 00:00:00 GMT-0300 (Hora oficial do Brasil) You can format...
asked by 16.08.2016 / 00:54
2
answers

Logical operators in form validation with php

Good morning, I have these fields in an html form and I'm trying to validate it with php. In my validation with php, I need only one of the fields (any one) to be mandatory. In this case, the user must fill out at least one of the fields so t...
asked by 04.11.2016 / 12:12
2
answers

Jquery Show does not work in td [closed]

I have the following code snippet: $(".item2").hide(); $("#show").chick(function(){ $(".item2").show(); }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script><tableborder="1"&g...
asked by 12.04.2016 / 22:55
1
answer

Insert input value into array

How to store the values of an input in positions of an array? I would like to get the value that was typed in the field and store it in an array, where I need to sort the values that were added in the array and sort them in descending order....
asked by 31.08.2016 / 18:22
2
answers

Website is not getting responsive with Bootstrap [closed]

I made a site using bootstrap, but it is not getting responsive on the phone, it simply appears as if it were on a monitor and then with both horizontal and vertical scrollbar ... link This is the site. By the chrome browser, if the scre...
asked by 12.04.2016 / 17:49
3
answers

How to add opacity only to the image?

A snippet speaks more than a thousand words: body { padding-top: 11%; background: url(https://fakeimg.pl/1920x1920/); } <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" rel="stylesh...
asked by 31.10.2017 / 16:56
2
answers

Hide / Show in divs according to subclasses

I'm trying to make a code that shows and hides some divs in the click, I tried to use css to help me, but I could not. By the below logic in the click of the "topic" it removes the display class from all items, and adds to the clicked class the...
asked by 03.10.2017 / 20:58