Questions tagged as 'jquery'

1
answer

limiting the value that can be typed in the input

I have a php variable that has a value that varies depending on the time !! Example 1st moment $valor = 300 2nd moment $valor = 20 3rd moment $valor = 5300 4th moment $valor = 1300 I also have an input,...
asked by 13.02.2015 / 02:02
2
answers

Sort Select by ID javascript

Personal I have a select via ajax that pulls the data from my bank but at the time of submitting the select, I'm not able to display by order of ID Grow , <div class="modal-body"> <div id="lista-hospitais-loader" cl...
asked by 10.05.2017 / 15:53
1
answer

Real-time values in the input class type="range"

Well, I tried to make the values in a input type="range" show in real time the user to select more I can not. with jquery it is also the same only when you release the mouse button from class input type="range" that the value is de...
asked by 12.05.2014 / 06:24
2
answers

How to open and close modals with jQuery

I'm trying to open a modal, wait 3 seconds, and close it within $( document ).ready() . When I use $('#myModal').modal('show'); the modal appears but when I do $('#myModal').modal('show').delay(3000).modal('hide'); it does...
asked by 29.03.2014 / 22:08
2
answers

How to send string variables as parameter for Ajax call?

The following Ajax call would send to PHP the parameters corresponding to the form that called the function: var foo = "bar"; var bar = "foo"; function register(){ $.ajax({ method: "post", url: "meu_script.php", data: $("#form")...
asked by 26.03.2014 / 18:52
2
answers

How to customize scroll bar in Chrome?

I have a select multiple combo that can not take up a lot of vertical space, so the ideal would be to scroll down with that traditional little set to navigate 1 in 1 item down. Is there any way to force the traditional scroll, with javasc...
asked by 27.02.2014 / 20:57
2
answers

Algorithm for calculation and distribution of elements on the screen

We are here in the company wanting to create a showcase with the effect of style reorganization which is used by the stackexchange itself link I've been thinking of position calculation algorithms, but I'm not getting anything conclusive on...
asked by 06.02.2014 / 17:33
2
answers

How to see if a file in input type file was selected?

Is there any way to tell if the file-type input has any files already loaded, ready to be sent? I want to make a condition where you have a file to upload to the first input, then show an add button plus a file input and so on. Is it possi...
asked by 20.02.2014 / 02:34
1
answer

Value of a query to a numeric field returns non-numeric

I am trying to read a field in a table that is of integer type. And it's also a primary key and auto-increment. The returned value is put in a label (already tried to put in an input text too). To read the target table and put the result i...
asked by 23.03.2014 / 15:11
2
answers

How to interact JavaScript + jQuery with CSS

I have a class in CSS that is called .codigo . I wanted when I was using it, it would remove the HTML formatting (example: make <font></font> appear the same is appearing here in the PT SO, using the .text() metho...
asked by 11.02.2014 / 18:19