Questions tagged as 'jquery'

2
answers

Dropdown hover run only above 1200px

If someone can help me, I need the hover JavaScript to work only at resolution above 1200px, I have made the code but it is not working. $(function() { if($(window).width() > 1200) { $('ul.nav li.dropdown').hover(function() {...
asked by 19.04.2017 / 21:00
2
answers

Filter with JQuery, Json and Input

I have a list of inputs with type checkbox, with values that are loaded from a JSON file. I would like to know how to make a filter, so that by clicking on a particular checkbox, the products (which are loaded from another JSON file) are filtere...
asked by 19.04.2017 / 08:10
1
answer

Mask with jQuery or HTML

the mask I need is this: 0000000-00.0000.0.00.0000 As I type in the input is filled from right to left preserving the zeros on the right until it reaches the limit of characters in this string. Examples: 0000000-00.0000.0.00.0000...
asked by 28.04.2017 / 09:02
0
answers

Pass value from href jquery to Spring MVC

Good afternoon, I'm having trouble passing an id that is in the jquery href to the Spring MVC controller update method. Can anybody help me. Thank you. $.ajax({ url : "listAllForum", dataType : 'json', success : functio...
asked by 04.04.2017 / 19:35
0
answers

Cumulative Online Modal Alert

I have a form on my system and a portion of this form has a cumulative line. Eg you click a button it adds another input to you type. My doubts are as follows, if the user does not type anything in this input I need to displa...
asked by 17.04.2017 / 21:18
2
answers

How do I perform functions when the window is out of focus?

Explaining the problem I'm working with sockets, and I'd like to know how to place a notification only when the tab is out of focus. That is, when the user is viewing the tab, it will not receive notifications, but if it leaves the tab,...
asked by 09.02.2017 / 02:21
0
answers

No tiny wysiwyg editor for Bootstrap does not work to create hyperlinks in Internet Explorer

I'm using the Tiny wysiwyg editor , however I'm having trouble trying to insert a hyperlink into a typed text in the editor. This occurs only in internet explorer, and as follows: After entering the text, I select the part that I want to app...
asked by 22.03.2017 / 20:16
0
answers

Problem with jQuery filter?

I have this filter in jQuery: var aeroportosida = []; Filtro.prototype.filtroAereoNomeIda = function(value){ var dataa = JSON.parse(JSON.stringify(this.data)); aeroportosida = []; if(value.length == 1){...
asked by 27.07.2017 / 13:35
2
answers

Input created in JS with autocomplete of JQuery UI

Hello I'm having a problem here when I create an input dynamically and it should work in jquery widgets autocomplete ui. I have seen several forums and they show how to make it work, however my problem is that the function that creates the input...
asked by 03.08.2017 / 20:33
2
answers

Function in jquery button disabled

How do I make a div appear when a button is disabled, and when enabled I want this div to be hidden $(document).on('ready', '#btn-cadastra-atividade', function () { $this = $(this) if($this.attr('disabled') === tru...
asked by 01.08.2017 / 16:16