Questions tagged as 'jquery'

1
answer

Iterate a list and check if the component exists in jQuery

I am making an Ajax call and thus returning new entries to a table. So far so good, but I want to make a .prepend() by adding a "Remove" button on each element in the list. The problem is that this button is only added in the fi...
asked by 06.11.2014 / 18:18
1
answer

Load and read XML via AJAX Cross-Domain

I have a Cross-Domain AJAX request that receives an XML. After a lot of work, I was able to download the XML but I do not know if I did it correctly because it never arrives at success . Here is the requisition code: function refreshPage() {...
asked by 09.05.2014 / 21:51
2
answers

Multiple clicks

I have the following code snippet: var Tannerie = { init : function(){ $('#prev').mouseover(Tannerie.prevClick); $('#next').mouseover(Tannerie.nextClick); }, prevClick : function(){ $(this).click();...
asked by 06.03.2014 / 13:46
1
answer

How to map a http request parameter to an enum in java?

I am making an ajax request like this: $.ajax({ type : 'POST', url : apiURL + '/play', dataType : "json", data : { against : "ANYBODY" }, success : function(data, textStatus, jqXHR) { // ... }, e...
asked by 15.04.2014 / 22:00
1
answer

How to make smooth bearing with button or anchor?

I need help with css , and js . I need a js that makes when I click the down button, or up, scroll the scroll of a div to a certain size: Sample link: link     
asked by 14.04.2014 / 15:42
1
answer

Content transition effect on site

I visited this site and liked the way the content moves, when it is clicked on More Articles or Hide List , I'd like to implement a site I'm developing. I'm having difficulty finding the plugin that does this, I inspected the page and saw t...
asked by 01.07.2014 / 14:24
1
answer

Passing parameters by jquery through a table

a doubt: I have a table and in it two columns, which are: CNPJ and Razão Social . Well, I need to do the following: When I click on the CNPJ column, for example, I should pass the value of CNPJ that is being clicked an...
asked by 30.06.2014 / 21:53
2
answers

How to use onload in DIV elements?

I'm setting some similar functions for different pages on a website. Therefore, these functions are in the same file. When the JS file is loaded the $(function() { /*function1*/ }); and $(function() { /*function2*/ }); functions ar...
asked by 02.08.2014 / 20:52
2
answers

How to transform a div with 4 images in only one?

I have an HTML code like this: <div class="conteudoFrente"> <div id="draggable"> <div class="draggableFrase"> </div> </div> </div> The div with the "contentFro...
asked by 31.07.2014 / 02:46
1
answer

Get parameter passed by POST with $ .ajax [duplicate]

I'm having trouble getting the id passed by the date of the ajax (jquery), what happens is that using $_POST['id'] or filter_input(INPUT_POST,'id') is empty follow ajax: $.ajax({ type:"POST", url: "cursos/area/",...
asked by 26.12.2018 / 12:52