Questions tagged as 'jquery'

3
answers

For for jQuery

So, I have in all 4 divs that I want to be changed when the mouse passes and when the mouse leaves it. The effect I wanted to do worked out, but I wanted to lower the code so that it would be easier to maintain, so I'm here. I'm going to pass th...
asked by 25.08.2014 / 21:09
2
answers

Jquery: Fadeout (), fadein () and Ajax call do not work in the right time

Hello. I have this code in JQuery: $('#prods').fadeOut(300, function(event){ chamaM(id_m); }); $('#prods').fadeIn(300); ChamaM() is an AJAX function that makes a call to PHP code, displaying the c...
asked by 21.08.2014 / 22:20
2
answers

Pagination of divs

I have a div with a ul and within 30 li . Within this li has a img . I want you to have a new page with% new, in this case number 31, it will create a pagination, leaving this new li within the other...
asked by 21.08.2014 / 20:13
1
answer

How to get a slideToggle effect with jQuery?

In this link , I have some red stripes in specialty. I would like to ask what effect I'm going to use for a div to replace the content of the strings individually with a slideToggle effect from left to right. How to get this scri...
asked by 19.08.2014 / 13:42
1
answer

Getting objects with JQuery and sending via Ajax to MVC C #

I'm trying to understand how to get HTML objects to an MVC C # controller. I know the code below works if the controller has string[] teste . <input type="hidden" name="teste"> <input type="hidden" name="teste" value="testes"&g...
asked by 25.08.2014 / 20:21
1
answer

Problems with slideDown in jQuery

I have a problem that I do not have the slightest idea of what can be, I understand little of jQuery, in the remove I was able to do the animation of .slideUp() but in add that it is a .append() I can not make it work already I tri...
asked by 19.08.2014 / 01:29
1
answer

Div appears and disappears

I created a div where it has 2 links, when the page loads, both links are hidden and when I click "fetch" they should appear. The detail, problem is that they appear and disappear! Why might this be happening? Follow the code: <input typ...
asked by 24.10.2014 / 14:35
1
answer

How do I get a parameter in a URL and assign it a new value?

Speaking of my problem, I wanted that when passing a URL with the code shown below, in the middle of the process a parameter was changed but specifically the parameter pagina that should go with value = 1 . // FILTROS $('#ordem')....
asked by 30.10.2014 / 15:27
1
answer

Listen to multiple events in jQuery

Is there any simplified way to make a selector listen to various types of events? Example: $('meu-seletor').on(['click','touchstart','keyup'],function(){ // minha ação aqui }); Currently the only solution I know of would be to create...
asked by 03.11.2014 / 21:49
2
answers

Getting attributes of an object using jQuery

How do I get the attributes of an object that is returned by an action in the javascript ? This is my code ajax . Pass the id to the action and it returns an object. I would like to access the values of this object. function UpdateDa...
asked by 30.06.2015 / 16:48