Questions tagged as 'ajax'

4
answers

Ajax, limit time even by reloading the page

I have the code that does what it has to do, and at the end it hides the button and shows the message of success: function getFollow() { $('#btnFollow').click(function(a) { a.preventDefault(), $('#btnFollow').html('Ganhando seguidores.....
asked by 29.07.2017 / 14:21
2
answers

Jquery removes all the less selected divs and those from the other menu

This code removes all the less selected divs, but also those from the motherboard menu what I was trying to do was make the below ones independent of the above ones. I'm sorry for showing the code like this but you can not put it in the editor b...
asked by 20.02.2018 / 16:32
2
answers

Text suggestion [closed]

I'm creating a form and would like to know some way where I start typing a word and it starts to show me suggestions, identical as does the travel shopping at the airport or at various websites     
asked by 27.04.2017 / 15:45
1
answer

Can I write ajax and javascript together? [closed]

Is there any problem of writing javascript and ajax together because both are written inside the <script></script> ? tags You're connected to this issue Can I for example inside the tags write a function in javascript and...
asked by 01.10.2015 / 18:08
2
answers

Checkbox selected in function

I have a function and I'm trying to set the checkbox to true, in function, this way: $("#cbpre").checked = true; But it is not scoring, I've debugged, and it goes into this part, it just does not checkbox.     
asked by 02.07.2018 / 15:19
2
answers

Problems making ajax call with checkbox

I have several checkbox that will make an ajax call, but only the first checkbox is calling. Any solution in the IDs for this list to make the same ajax call? Script: <script> $(document).ready(function () {...
asked by 14.04.2016 / 18:31
1
answer

select does not work Ajax

Good morning, I did a search using Ajax using "input". Now I need to do the same form of search, but instead of being an "input", I have to use a "select". I already tested using input and it worked. But using "select" does not. What is wrong?...
asked by 15.02.2016 / 14:02
2
answers

Requesting a .txt file via AJAX

I'm starting in my Javascript studies with interactions with the server, and right away I can not retrieve a text file to be shown via a Javascript alert. From what I've studied, the file must be on a server. In other words, to make a request on...
asked by 22.04.2015 / 23:37
3
answers

Run Ajax script automatically

I have a problem with a college project. I would like to know how to run this Ajax script automatically: <script type="text/javascript"> function buscaCep() { var cep = $( "#cep" ).val(); var infos = { 'iCep': cep...
asked by 16.04.2018 / 17:18
2
answers

How to make logic enable text field at a time when filled

How should I proceed with logic? There is a data record form on the page, namely: Name Surname Age Mobile I need to leave these fields as follows: 1- When the page loads the Last name , Age and Cell phone fields should be...
asked by 20.04.2018 / 01:02