Questions tagged as 'jquery'

1
answer

Fade Radial js or canvas

Hello, I wonder if there is any transition I can make in radial or ink style dissolving (as if it were dripping ink)? For that purpose it will be cooler to open the site. Fiddle: link $(document).ready(function () { $...
asked by 10.06.2015 / 00:02
1
answer

jQuery plugin changing attributes with $ .extend

I created an object in a plugin above .fn . For they are usually created within the objects of which we do the following: (function( $ ){ $.fn.tooltip = function(options) { var defaults = { 'corDeFundo' : 'yellow'...
asked by 12.05.2015 / 23:14
1
answer

Returning a Select option with Ajax

Hello everyone, well, everybody, I need your help humbly with the following problem: I have a scrpt Ajax with the states and cities of Brazil, and a select option where it lists the state and the other its respective cities, until then everyt...
asked by 21.10.2016 / 16:27
0
answers

How to sort a div by a string attribute with jQuery?

I'm developing a list that has the "ID" and "Status" header and its ID and Status values, and I also set an input of type hidden for action. Here's an example: <div class="cabecalho"> <div><span id="orderID">ID</span...
asked by 07.11.2016 / 21:59
0
answers

How to upload a photo using jQuery PictureCut?

I would like to upload of the photo using the jQuery PictureCut . I followed all the guidelines provided by the site by installing the folders and setting them to the code, but it is not working on my server. It does not even send or appea...
asked by 04.11.2016 / 20:20
1
answer

Text Overlay with Bootstrap Doubt

I'm trying to make a text overlay on an image with the bootstrap, but I'm not getting it. Would anyone know how to do it and help me? My code is: <section class="container"> <div class="row ptf"> <div class="...
asked by 27.01.2015 / 16:51
2
answers

$ (document) .height () does not return the correct value

I'm trying to get the $(document).height() size of my site, but the value shown is sometimes different than the size of the HTML (in preview element) it shows. I've tried calling directly $("html").height() , but it also did not...
asked by 22.01.2015 / 04:54
4
answers

How to alphabetize a select obtained through a JSON?

I set up a select through JSON below, the only problem is that it follows the order of the key, how to organize it alphabetically? { "12": "Acre", "27": "Alagoas", "16": "Amapá", "13": "Amazonas", "29": "Bahia...
asked by 11.07.2016 / 19:54
3
answers

How to execute code only on the first click?

I have a list of buttons ( <li> ): <li id="1">link 1</li> <li id="2">link 2</li> <li id="3">link 3</li> <li id="4">link 4</li> <li id="5">link 5</li> When the user clic...
asked by 14.04.2015 / 06:39
4
answers

Check if string has only numbers

What command can I use to know if a string contains only numbers? For example, I'm using prompt : var quantidade=prompt('Quantidade de entrada de produtos(somente números)'); I would like to check if actually in the variable qua...
asked by 01.04.2014 / 16:46