Questions tagged as 'jquery'

1
answer

Help with Javascript comparison operators

Good afternoon, I'm doing a job, of which I'm going to have several forms with a minimum and maximum number and I'm trying to create a check function and avoid inserting numbers out of range through the keyboard, my function was this way $...
asked by 20.11.2016 / 17:31
3
answers

Global function for plugin

I am creating a simple plugin with jQuery and Bootstrap, and in my JavaScript I have the following excerpt: $.fn.myPlugin = function(options) { var element = this; var settings = $.extend({ param1: null, param2: null,...
asked by 29.12.2016 / 13:53
1
answer

jQuery cutting words with space

I have a screen where the lines are loaded according to the data of the database and for this I have a PHP + jQuery and the like for the creation of the same one. What happens is that the array that sends the data comes correctly, but at the tim...
asked by 17.04.2018 / 14:52
1
answer

Iframe issues in Firefox and Internet Explorer

I have a problem with Firefox and Internet Explorer when I use a iframe to load files on the same page. In Chrome it works perfectly, but in Firefox and Internet Explorer, when I click on link iframe opens on another page....
asked by 28.02.2014 / 21:56
3
answers

Problem with Jquery UI Slide Left

I'm developing a project and needed to know how to slide a div to the left. I'm currently using: $('#idDiv').toggle('slide', { direction: 'left', distance: 450 }); I wanted my div of 500px width to slide and leave 50...
asked by 26.02.2014 / 12:41
3
answers

Stay on same tab after Refresh

I'm developing a website in jQuery. And so far I've created a simple menu with content appearing inside divs. Menu <ul class="menu" id="menu"> <li class="menu-text"><h4>Titulo</h4></li> <li class=...
asked by 29.05.2017 / 19:04
1
answer

How to get the value of several filled fields using jQuery?

I currently have a customer search system that can be searched by cpf, cnpj, phone, address, email and various other information, I can search a customer asking if there is a customer having an email and a phone, my question and the following, I...
asked by 16.04.2015 / 18:30
3
answers

How to destroy a jQuery.fn whenever it is called?

I built a plugin using jQuery.fn.algumaCoisa = function(options, callback){}; , but when I call multiple times on the same element, it multiplies the behavior instead of overlapping. Is there any way I always call this function to reset th...
asked by 31.08.2015 / 23:39
1
answer

How to create a "load" until the function is fully executed?

Hello. Going straight to the point: assuming I have a function with repeating structures that, depending on what the user completes, the process in that function may take a certain amount of time, and until it is fully completed, the page hangs....
asked by 15.11.2015 / 00:55
1
answer

What's the difference between using focusin / focusout and focus / blur?

Using jQuery to focus on a specific element, the question arose: What's the difference between using focusin() versus focus() ? And focusout() compared to blur() ? Is there a specific application for ea...
asked by 23.03.2017 / 21:47