Questions tagged as 'jquery'

2
answers

Next tab when clicking the button

I have a registration form divided into tabs, where the tabs are disabled until the user clicks the button to enable and go to next. The problem is that the way the user is has to enable the button and then click on the next tab. I need when the...
asked by 24.02.2015 / 13:18
3
answers

If with 3 conditions and at least 2 true?

Suppose I have the following if if(a || b || c == true) In this case, if only one of the values is true to activate the condition, but I would like the condition to be activated only when at least 2 of the past values are true, is it...
asked by 02.03.2018 / 21:33
2
answers

Get select value with jquery

I have an HTML code that contains the following information: <select name="QtdAcomodacaoD" id="QtdAdomodacaoDuplo" class="form-control" style="width:130px" onchange="soma()"> <option value="1">1</option> <option value="2"&...
asked by 04.01.2016 / 20:49
3
answers

How to report that a particular store is open at the moment

When it is between the times described below it will be written OPEN , when it is not at that time it will be written CLOSED , in javascript, jquery, etc. How could I do this? <div class="Lojas"> <p class="Loja">Loja 1</p...
asked by 19.01.2016 / 13:31
3
answers

How to modify form fields if user input is invalid when compared to regular expression with JQuery

Well, I have the following form: <!DOCTYPE html> <html> <body> <form action="enviar.php" method="post" accept-charset="utf-8"> <label>Nome<br> <input type="text" pattern="^[a-zA-Zà-úÀ-Ú ]{2,30}$" aut...
asked by 27.08.2014 / 21:09
3
answers

Sort images by the height of each

I have a list of images with different dimensions. I wanted the images to be sorted from the smallest to the largest: the one that has height smaller was in the first and the height greater was last. Using only jQuery with HTML....
asked by 02.09.2014 / 19:48
2
answers

Show items as selected by a select (HTML) [closed]

Good afternoon! I have a database with two tables, products and menus, the two tables are indexed through the CdCardapio field. I created a html select element that contains all the registered menus, so that when selected, for example, the "B...
asked by 15.09.2015 / 20:35
3
answers

How to make them disappear & nbsp; & nbsp; & nbsp; & nbsp ;? [closed]

I have a div that will serve as a menu. The problem is that I get these weird characters to format the code and I did not put them there: &nbsp;&nbsp;&nbsp;&nbsp; These characters are not visible by code, but...
asked by 15.07.2015 / 12:41
2
answers

How to do a scroll to the end of a div?

I want a given div , which has the attribute overflow-y:auto , whose height is fixed, to be rolled to the end as soon as an element is added to it. In this case, I need it to roll to the end, because its height is fixed, but the a...
asked by 01.09.2015 / 15:00
2
answers

Mask for Note Field - 10 or 5.5

I'm looking for a script in jQuery to make a mask: When you type 10 , the format field for 10,0 and when it is another note such as 6,5 , leave it. As an example below. I need you to delimit the moment you typ...
asked by 16.09.2015 / 14:58