Questions tagged as 'jquery'

3
answers

Check if the mouse is not in the element

I want to run a code, but this code can only be executed if the mouse is not on a div . I tried the .mouseout () but it checks to see if the mouse is gone, is not it, I need to check if the mouse at that moment is not in there, if it i...
asked by 17.12.2015 / 18:57
3
answers

Divide a date into two parts

I'm making a calendar using MySQL, html, JS and PHP. This calendar is for reserving the ballroom here in the building. There may be two reservations the same day, morning and afternoon that would be "00:00 to 11:59" and "12:00 to 23:59"....
asked by 29.12.2015 / 18:44
3
answers

Get the value of a select dynamic

I would like to know how I get the value of a <select> dynamic, ie when I modify the value it presents me with this value, I imagine something like below, could anyone help me? varItens = document.getElementById('caminhos'); for(...
asked by 08.12.2015 / 17:14
1
answer

How to change an element's class - Awesome Font

I have an Awesome Font icon in which I am trying to make the element clickable, change the icon from fa fa-plus to fa fa-minus and clicking again, the icon returns to fa fa-plus . How can I do this? Here is the code for...
asked by 17.11.2015 / 01:17
2
answers

How to create an animated ProgressBar to report the force of the password?

In some websites I have seen bars like this, it would be to analyze the security of passwords and size, while the user types the progress bar not only moves, but projects an animation and filling or trim ... With JQuery I would be capturing t...
asked by 27.12.2015 / 01:53
3
answers

Error Calling Jquery function

I have the following button: <button class="btn btn-default details" data-id="@fornecedores.Codigo"><i class="glyphicon glyphicon-file"></i></button> On the same page I have the following script: $(document).ready(...
asked by 10.09.2015 / 21:23
1
answer

How to drag a div on my page? [duplicate]

How can I implement a drag and drop on a div without this element moving with other elements of my page and staying on top of them? I also needed it to stay where it was before, if I hit Esc .     
asked by 03.02.2016 / 03:00
1
answer

Use variable of a function in another function

I have a variable that has the result value of a function, I need to use that same value in another function. Ex: el1.on('change', function'){ //função pra trazer o valor que quero var IdResult1 = 123 //valor que a função acima trou...
asked by 18.02.2016 / 20:08
2
answers

How to select siblings?

I'm trying to modify a configuration of a sister div, but I'm having difficulty finding the correct selector to use, I know that html works like a tree, and usually when I need to select a higher element uses parent() and when it is a low...
asked by 03.03.2016 / 20:58
2
answers

How to insert a TAG with a comma or semicolon

I found this project to insert TAGS into a form, but it just adds the TAG when enter key, and when that happens on my form it already sends! I would like to know what I should do in SCRIPT so that it adds the TAG every time I enter comma or semi...
asked by 10.10.2016 / 02:02