Questions tagged as 'jquery'

2
answers

Position all selects on index 0 with Jquery

Good morning! I have a question, and I wonder if anyone can help me. I have two selects on my page. I have a button to register a new record and another to edit each record. When I click edit, it opens a modal containing the informatio...
asked by 26.05.2015 / 15:12
0
answers

Going through JSON

I have a little difficulty performing a function. I wonder if you can help me? Well, I need to do a navigation via click and each level is stored in a json. A structure similar to the one below: { [ { "id":"2",...
asked by 01.08.2015 / 03:01
0
answers

requireJS and JQuery causing dependency problems

I'm trying to apply requireJS in my application, so I'm having some problems. require-config.js var require = { paths: { "jquery": "/admin/admin-v2/bower_components/jquery/dist/jquery.min", "bootstrap": "/admin/admin-v2/...
asked by 31.07.2015 / 19:27
2
answers

Solved - Responsive Menu, Drop down Event via JS

Good morning! I'm having some problems with JS from my responsive menu. It happens that when you activate the responsive page function, it turns a single menu, so that's fine, but when you click it, it already brings all the expanded subme...
asked by 22.05.2015 / 18:09
3
answers

Assigning value received via ajax to a variable

I have the following function: var idArtigo = $(".codigo", this).text(); myJSRoutes.controllers.ArtigoDocumentoController.getArtigoByDebitoTipo(parseInt(idArtigo)).ajax({ success: function (data) {...
asked by 21.05.2015 / 16:54
0
answers

Do not let the scroll stay in the middle, stay in one element or another

Before long I wanted to apologize for the title of the question, I could not find a better way to explain it. What I want is a 'normal' page, which has for example: 5 sections, I wanted the scroll not to see half of one and half of another, ie a...
asked by 20.06.2015 / 12:23
0
answers

Call youtube video with click for a responsive section with jquery

I would like to call multiple videos from the YouTube channel for a section, the calls would be one by one, by click, to the various titles corresponding to the video, or it could also be a link. grateful. <ul> <li><a cl...
asked by 18.06.2015 / 21:10
0
answers

Animate () only works on the first transition

I'm creating an infinite carousel that should be animated between transitions, but the .animate() event only works on the first transition, the rest is completely static, with no animation. Code: var next = function(){ var left =...
asked by 01.07.2015 / 07:01
0
answers

Problem with event keyup

In this script, I'm getting a start date from datepicker , and I'm adding the week that the guy types in with another 5 days. The problem is that it only applies this rule on the first date that I select. If I select another start date, it...
asked by 06.05.2015 / 20:44
0
answers

Integrate validate.js with dropzone.js

I've integrated dropzone.js with a form, and would need to validate the dropzone.js fields. I have the following code (it is not working, but it's what I need to "merge" in case): var Galerias = function () { return { //main func...
asked by 05.05.2015 / 02:40