Questions tagged as 'jquery'

1
answer

Plus / Minus jquery does not work

I can not change the value of the id="value" input when you click .minus or .plus , what should I do to solve? <input type="button" value="+" class="plus"> <input id="value" step=...
asked by 27.08.2018 / 21:39
0
answers

Use Select2 to search states and cities

I want to improve the search for cities and states. I made this dynamic with Select2: /*************** Procurar estado ***************/ $( ".estado" ).select2({ placeholder: "Estado", ajax: { url: "https://www.agenc...
asked by 23.08.2018 / 16:22
2
answers

Materialize Autocomplete does not load values

I'm having trouble loading values into the Materialize autocomplete. What happens is the following: $().ready(function() { $('#sel_estado').change(function() { $.post('auto_cid.php', {id_estado:$('#sel_estado').val()}, function(res){...
asked by 28.07.2018 / 14:20
1
answer

DOM Update via jQuery Mobile

I'm having trouble updating an element, via jQuery. I'll summarize the codes: HTML <div data-role="header" data-position="fixed" data-tap-toggle="false"> <a href="#nav-panel" data-icon="bars" data-iconpos="notext">Menu</a...
asked by 29.01.2014 / 19:28
0
answers

Doubt - JavaScript [closed]

I need to get the value of the text box and put it in a global variable. How do I do this?     
asked by 15.08.2018 / 02:07
1
answer

Updating the size of the fancybox dynamically

Hello, I need to resize the size of a fancy box dynamically from a onClick event that will show other components on the page. I tried to use the following code snippet found here , and this resizes the page but gives the following...
asked by 20.03.2014 / 16:00
0
answers

Uncaught SyntaxError: Unexpected token

I'm consuming data returned from a JSON Web Service , where I run arrays , to compare values between URLs and < strong> if equal , replace with its name. We have teams, places, categories and modal names, each with its identification code,...
asked by 30.08.2018 / 14:29
0
answers

AutoComplete with JQuery Structured Query

I needed to do a query that worked like the following example: Inprintyoucanseethattypinganitemreturnsstructuredbyneighborhoodandthencity.Iwantedtobeabletoknowhowtodomyqueryinthisway,structuredbyNeighborhood,CityandStreet.Icanonlyimplementthesi...
asked by 20.04.2018 / 18:25
1
answer

Ajax return error - Json format with PHP

Good evening. I can not find the error. I want to assemble a list as I inform the date in the input date. Below is the html: <div class="form-group"> <label for="data_aula">Turma</label> <di...
asked by 20.03.2018 / 22:05
0
answers

Effect parallax on DIV

I'm having trouble adding a parallax (or identical) animation to my slide show when I scroll down my page. I was able to do this, but only with background images using the background-attachment: fixed; property. Does anyone have a...
asked by 16.08.2018 / 14:09