Questions tagged as 'jquery'

2
answers

Checkbox selected javascript for controller

I have a group of checkboxes that are generated from the DB, consequently their id will be different. In my case 3 checkboxes are generated: HTML: <input type="checkbox" id="[email protected]()" name="teste" class="checkbox style-0">...
asked by 04.02.2015 / 16:34
0
answers

Problem to function two ready-made Jquery effects on the site. the two become static, do not work

Hello. I'm making a portfolio and I'm having trouble running two jQuery effects that I removed and modified from these sites, a dynamic < link > and a carousel images slide < link & gt ;. The dynamic menu alone works normally, but when...
asked by 04.02.2015 / 14:48
1
answer

Disable checkbox

I need a help, how do I disable it when the first checkbox is selected. The link has an example of what I was putting together. link     
asked by 03.02.2015 / 13:49
1
answer

Pass multidimensional array to php

I'm struggling with a problem a days .. This is the following, I have a multidimensional array and I want to pass as a parameter in a ajax request to a php file, but when I am doing this what is returning is a php empty. I have no idea why,...
asked by 05.02.2015 / 12:36
1
answer

Empty session updating only DIV [duplicate]

I logged into PHP, where I validated the data via Ajax and loaded a PHP page into a DIV, so I did not have to refresh the whole page. So far so good. <?php if(!isset($_SESSION)){ session_start(); } $username = $_POST['name']; $p...
asked by 30.10.2014 / 13:45
3
answers

How to click on a TD and get the value of another TD hide?

One with 4, being a hide. Is there any way I can click on any and get the value of hide and send to my controller? This way I get the value of being clicked. $('#nmUsuario').on("dblclick", '.clique', function () { CarregaDados($(this).text...
asked by 28.10.2014 / 13:05
1
answer

jQuery addClass in scroll

I have the code below and I'm trying to get the li elements to get with the active class depending on scroll (parallax effect ), everything works well (click functions for the scroll) except that. If you know better, please share...
asked by 09.04.2014 / 18:21
0
answers

HTML Testing (DOM) with Jasmine or another framework

How do I test HTML with Jasmine? I know there is a guy named jquery-jasmine.js who does this but I have no idea how to install it because npm does not work when I try to install it (it says that Git may be in trouble, but all other plugins work...
asked by 13.10.2014 / 22:29
6
answers

What is the difference between .on ("click", function () {}) and .click (function () {})?

I usually use, because I learned that it was the most correct , the assignment of events as follows: $('seletor').on('click', function(){}); However, I see many developers using the following syntax: $('seletor').click(function (){});...
asked by 11.02.2014 / 13:32
1
answer

How do I apply slideDown () along with load ()

I have a page where it displays dynamic contents using load() . How do I apply the slideDown() effect when document is displayed on the page? My code looks like this: index.php <div class="col-md-3"> <div class="pan...
asked by 19.09.2014 / 00:17