Questions tagged as 'jquery'

1
answer

Change appearance when going through section

In this code below, I can make the item clicked change background-color , but I would like it to change without clicking, ie when I was passing through the corresponding <section> .    I know how to make it change with a cer...
asked by 26.08.2017 / 20:47
1
answer

How to return the function variable in Jquery

Hello, I would like to return the variable namedestate into another function. How do I do that? The variable returned in the Undereco is undefined. function retornaEndereco() { $('.informacoes-perfil-endereco').css('display','none'); v...
asked by 25.08.2017 / 22:26
3
answers

Error passing through Ajax Parameters for function in PHP class

Is the first time I try to pass parameters from the ajax to my function that is in a class in php, so I ask, why is not it working? searching the forum vi I could put data: { var1 = 'var1', var2 = 'var2', }, Ajax - Code has been fix...
asked by 26.08.2017 / 05:11
1
answer

Django - CPF Mask, DDD and phone number

I need to put a mask on entering the CPF, DDD and phone number. I'm a beginner in Python and Django and would like to know how I can display this mask at the time of typing: For the CPF: 999.999.999-99. For the Telephone: (99) 99999-9999....
asked by 26.08.2017 / 04:58
1
answer

Problems with NaN

Can anyone help me with this site. The front displays the prices only below it again displays with NaN. When it enters any product, NaN disappears. Any tips on how I can solve this? Some trick to "hide" NaN on the front screen would be intere...
asked by 06.09.2017 / 01:48
1
answer

SQL query for more than one type of property, city and neighborhood does not work correctly

I got a template ready with some problems in the plugins and the queries. Of the 6 select fields to search for real estate, 3 of them can select more than once, type of property, city and neighborhood. The list of these 3 fields is generat...
asked by 28.08.2017 / 19:33
1
answer

How to unlock the accordions even when some excepetion

I have a screen that frees accordions as soon as the client's code is validated with personal information, etc. But if some exception occurs it locks the accordions , how could it be done to make it clear even if it gives som...
asked by 14.08.2017 / 19:37
1
answer

Scroll bar at the end of div

I have a chat that was developed in Bootstrap, PHP, Mysql and Jquery. The structure looks like this: HMTL <div class="chat-panel panel panel-primary chat-boder chat-panel-head" > <div class="panel-heading"> <i c...
asked by 12.08.2017 / 20:00
1
answer

Laravel 5.4: AJAX request using route with JS variable?

I need to use a Laravel route within the AJAX request code. The way I mounted it does not work, but it does not work. I believe the call of the variable ( servico ) is wrong, because I manually set a number like this: {{ route('getE...
asked by 05.08.2017 / 15:22
1
answer

Problem in hiding div

I made a function in JQuery to hide / display 2 divs. The first div works normally, but the second one does not: / The idea is to hide the div, change the button icon and change the text at the same time: $(document).ready(function () {...
asked by 04.08.2017 / 21:35