Questions tagged as 'jquery'

1
answer

ToggleCss except on some divs

I have the following problem: I have a js that adds a particular style to a div or whole html. I would like to know how to ignore some divs so that this style would not be added to them. Here is the code I'm using: $('#efeito').click(function...
asked by 18.03.2016 / 13:53
1
answer

Google Maps API does not load in Angular

Hello, I'm trying to initialize API of Google Maps in controller of my Angular page, except that it simply does not start the function. If I put it directly on the page, it works without problems. Here is code for control...
asked by 13.04.2016 / 13:15
2
answers

Problem with AJAX JQuery

Code in index.php <!DOCTYPE html> <html lang="pt-br"> <head> <title></title> <script type="text/javascript" src="jquery-2.2.3.min.js"></script> <script> fu...
asked by 13.04.2016 / 19:17
1
answer

How to invoke function on the first click of the button and another on the second click

How do I make the first function to be called within the first click of the button, by the event ondblclick(); and the second function in the second click of the same button. I imagine invoking the function of the first click on the b...
asked by 19.05.2016 / 07:57
1
answer

How do I refresh Datepicker?

First of all I'll tell you how this datepiker works, it has to follow several rules, which makes it difficult to create the code. I can only use a datepicker to select dates, both in and out, and after the first date is selected, only the next s...
asked by 11.03.2016 / 22:04
0
answers

How to do unescape with jquery?

I'm setting up a page with ajax, it has a modal register I have a form that is in the file novo.php and I need to include it in the modal. The modal is created the moment the user clicks the registration button: var inc = '<div...
asked by 20.04.2016 / 17:50
1
answer

Automatically fill Listbox values as selected.

When the data goes to the ListBox, it wanted to be selected immediately: I do not know why it did not work. itensListBoxCatequizandos.append('<option value="' + obj.val + '"> ' + obj.name + '</option>').prop('selected', true);   ...
asked by 20.04.2016 / 16:22
0
answers

problem in ajaxSucess

Hello, I'm having a hard time running a script after a call in ajax. What have I done so far? Well, I'll explain: I have a button with 2 actions, however, I need one action to occur before the other, the two are not together . > I h...
asked by 20.04.2016 / 20:53
2
answers

find () is not looking for all input's

I have a series of questionnaires in which all fields must be answered, the problem is that some inputs are not mandatory, as in the example below: The input of type text is not undergoing validation and it is ignored (jump righ...
asked by 11.04.2016 / 16:49
0
answers

Modal in jquery does not open

I'm putting together a page that, when doing a search in the database, returns a table with the found data. In this table a td brings a link and passes a record at the same time. Clicking on the link should open a modal but it is not working. Wh...
asked by 06.04.2016 / 00:41