Questions tagged as 'jquery'

3
answers

How to fix the position of an element inside a div with scroll (com css)

Is it possible to fix an element (div, img, p) in a div with scroll and with position:relative and using css only? * Currently I reposition the div using the $('elemento').scroll() function and calculating the scroolTo...
asked by 16.05.2014 / 22:35
3
answers

Navigation without refresh! [duplicate]

I'm developing a site that has div where I have a script that lists results of a SQL query. They are images, in this case. The site was developed in only one page, so when I click on portfolio, it only takes me to div #portifolio...
asked by 05.02.2014 / 21:25
1
answer

jQuery validate - rule skip_or_fill_minimum does not fire if used more than once

I have a form that is composed of four inputs and they are grouped in pairs. The rule for this form is very simple, if I fill one of the inputs of the pair, I have to fill in the other one too or do not fill in any. To achieve this beh...
asked by 06.02.2014 / 23:07
2
answers

Change div height according to screen size and adapt when adjusting

Hello, I'm trying to adjust the height of my divs as the div that has the largest text, when the page loads, works normal, but when I change the screen dimensions, it does not work. HTML <div class="info"> <p cla...
asked by 19.06.2016 / 02:49
3
answers

How to detect the click on the Back / Forward / Reload buttons in Google Chrome

How do I detect when the user clicks the Chrome Back / Forward / Reload buttons? I have already made a scheme to do a check before the user leaves the page through the elements of the page itself but I can not tell when he clicks the buttons...
asked by 26.08.2014 / 18:35
2
answers

How to retrieve values from fields loaded with jQuery

Hello, I recently encountered a problem loading div contents dynamically using jQuery, but it turns out that when I load content into this div, I can not retrieve the values that are sent from it. The content loaded in the div is a form, whic...
asked by 26.03.2014 / 12:17
3
answers

Update values after changing the dropdown

I know almost nothing about JavaScript but I was able to use Chosen to change my selects . What I can not do is use the trigger that the site indicates to update the field. I want every time I click the select field and the dropdown list...
asked by 30.11.2014 / 20:02
2
answers

HTML table export to excel

I'm trying to export a table in html to file in Excel. This jquery plugin works almost perfectly for me. My problem is with accentuation, which comes to excel with strange characters. Any tips on how to solve?     
asked by 11.03.2014 / 14:32
1
answer

Load content dynamically with AJAX

I have the following HTML code: <label id="meuTemplate" for="criaAssoc" class="instAssoc" style="display:none"> <strong>ID:</strong> <input name="idInstrucao" type="text"> <strong>Ordem:</strong>...
asked by 30.01.2014 / 23:04
2
answers

How to perform an action before 'mousedown' in javascript / jquery?

My intention in the end is to transform a 'mousedown' into a 'ctrl + mousedown'. But I can only activate 'ctrl' after the mousedown has been processed. Example: $(document).ready(function(){ $('#CC option').on('mousedown', function(even...
asked by 13.03.2014 / 22:42