Questions tagged as 'jquery'

1
answer

Script for discount calculation

You have a plugin the agency has created. It works like this, it is set to work with the word ticket and discount, if it has these names in the% class, it takes the value in% it applies a display block and applies in the view price. > Ex:...
asked by 21.11.2014 / 18:24
1
answer

Box when passing mouse over the municipality

I'm using the GoogleMaps3 api and after rendering the map I would like to move the mouse over some area (which has already been programmed) to show the area code. What I've done so far was: hover over area: google.maps.event.addListener(set...
asked by 15.04.2015 / 21:12
2
answers

How to clean the inputs after performing an ajax request?

I have a function in AJAX that while loading information from the database to feed the inputs is written "Loading ...". If it does not find any information it continues with this loading in inputs until I refresh the page or do ano...
asked by 07.11.2014 / 14:23
1
answer

Anchor using animate.scrollTop with custom height

I need to edit the anchor of the content to a smaller height than the content. I'm using js $(".white-felling").click(function(){ $("html,body").animate({scrollTop:$("#white-felling").offset().top},"500");...
asked by 25.11.2014 / 17:05
1
answer

plugin not working, routes and jquery

I'm using this plugin to explore routes with jQuery without having to migrate to AngularJS. But I'm not getting the answer in the log box, which was to return with the following code $.router.add(/items/:item", "foo", function(data) { console....
asked by 23.11.2014 / 17:14
1
answer

Transition with anchors in single page applications [duplicate]

How can I implement a smooth scroll transition effect through anchors using Jquery? The template below shows an example of a scroll transition I'm looking for.    link I would like to understand the effect, and for this reason I'm...
asked by 24.11.2014 / 17:52
1
answer

Building the name of a function and executing it

I have an object that is made up of several functions. these functions are names of tables that, from an earlier treatment I have to execute them. The idea of the code is, if a table does not exist, execute such a function that will create it ba...
asked by 10.11.2014 / 18:39
1
answer

Insert into table and then click using Jquery [duplicate]

I'm dynamically inserting into my table, so far so good. The problem is how much I try to click on one of the lines and I have no answer, I believe that I am not inserting in the DOM, someone could help me. INSERTING: $('#tabelaChat').app...
asked by 12.11.2014 / 17:20
1
answer

How to recognize each element of the iterator-tagged list of Struts 2?

I made an iterator to cycle through a list, adding inputs to be changed. When the field with the class dataFimVigenciaPlanoVigente is changed, a jquery function is called to change also in the object in java. However any input I change it always...
asked by 06.11.2014 / 14:22
3
answers

Getting IP LAN for sending with ajax

I need to get the "LOCAL" (LAN) ip, using javascript. It turns out that I have an application on my servers, but a client requested a customized service. I need to retrieve the client's local ip over the internet and send it to the database on m...
asked by 05.11.2014 / 20:05