Questions tagged as 'jquery'

1
answer

Ajax after page fully loaded

I have a very slow code running on the server side, to avoid the delay in rendering on the page, I decided to call the function via ajax after the page loaded, I used both ways but both did not work: With $(document).ready the p...
asked by 26.10.2014 / 02:05
1
answer

JS function using jQuery bugging with Foundation 5

I am generating a random number when I click on a button and after generating this number I enter as the value of a input . But when I click the button everything follows normally the value is generated, so much so that I use the...
asked by 21.10.2014 / 20:40
1
answer

Organization of portfolio by categories

Looking at the MODEL , I would like some simple suggestion to classify these blocks by categories dynamically with the same effects already existing. Home I have a table that saves the id of the "product" and its ids of the categories related...
asked by 04.08.2014 / 00:05
1
answer

Ajax is returning an array and now, how to separate?

My Ajax request is returning 3 records from a PHP query (yes, I'm sure), so we have arrays of type: array 1 ["João", "19/05/1986", "masculino", "Programador", "Campo Grande"] array 2 ["Maria", "15/05/1988", "feminino", "Enfermeira", "Londres"]...
asked by 04.08.2014 / 14:31
1
answer

How to move element randomly across screen (css or jquery)?

How to make an element move around the screen by randomly bouncing around the edges of the screen. Like those screensavers of old DVDs?!?? The closest example that I found my question was in css (keyframes, transforms, animations, etc ...) ba...
asked by 03.09.2014 / 06:27
1
answer

Retrieve checkbox values with ValidationEngine

I'm trying to find the best way to send my fields via submit for PHP to validate. I have a form with 4 checkboxes where at least one has to be valid. I'm using the Validation Engine, in PHP I work mainly with the Name field and the...
asked by 06.09.2014 / 20:50
1
answer

Capture Current Selected Option - multipleselect

Given a multiple select field, how do I get via javascript the value of the option that was last selected (current)? I have tried to use the expression below, however the last value (in alphabetical order) of the list of selected items is ret...
asked by 17.07.2014 / 03:46
2
answers

Keep image with normal size - CSS

Good morning, I'm showing images in a slider, just that they are being stretched, like I do in css, so that it stays in the size specified in css, for example: width: 200px; and height: 200px. in this, the image can be cut, it does not have to s...
asked by 08.07.2014 / 16:39
1
answer

Take action when closing browser

I have a system that marks whether the person is available or unavailable . There is a button called exit . If the person clicks on it when it is available, then it automatically changes the status of the database to unavailable. Only some s...
asked by 25.09.2014 / 17:39
2
answers

How to store the date and time with each click on the form

I have a form and need to store the date and time with each click of the form or at least the first one. I think this should be done via JQuery or JavaScript. With each question, the form does have a button with type="button" and the last button...
asked by 09.07.2014 / 21:57