Questions tagged as 'javascript'

2
answers

jQuery Toggle animation

I'm trying to make an animation that behaves like a toggle. What I want is that with the click event on #admin > p , it deflects to the left while the #admin > form, #btn slideUp returns to the original position (css) when...
asked by 26.02.2014 / 20:08
1
answer

How to add and remove classes when clicking on an SVG path?

I'm working with a map of Brazil in SVG, and I need when I click on a state, it adds the "active" class and removes the "active" class from the others. It also has the function of adding the state name to an input. Example: <path id="San...
asked by 04.03.2014 / 14:17
1
answer

How to display registered values in one Google Drive worksheet in another through query by JS

I have a table in Google Drive and I want to use Scripts to do what I want to stay in a more dynamic way. On Page2, I have the "Result", "Delay" and "Arrival" fields with their results filled out below, I want to create a page on Page1 in a f...
asked by 25.02.2014 / 15:23
2
answers

How to use Jquery Custom Scrollbar on elements with display: none

It does not mount the scroll bar on elements that are with "display: none". Does anyone know how to solve it? Here the scrollbar plugin     
asked by 28.02.2014 / 19:07
1
answer

Ignore open enter key

On my system, I created a modal that will serve as an alert whenever the user does some invalid operation. But to force the user to always close the modal via the close button, I wanted to prevent him from closing the modal by pressing ENTER...
asked by 16.11.2018 / 16:25
1
answer

AJax Problem When Trying to Use Data in Later Functions

I'm trying to get the data in the BuscaCabeca and BuscaBraco functions, it's returning the data all right, but when I try to use the data created cabeca and braco it gets undefined, what am I doing wrong. $(document)...
asked by 14.11.2018 / 22:06
1
answer

Open modal popup in another .cshtml file

File.cshtml is found as follows: <html> <head></head> <body> <!-- Nesta div pretendo abrir minha popup --> <div id="popup"></div> <!-- Com este link pretendo acionar a abertura da popup...
asked by 17.10.2014 / 14:18
1
answer

Find out which Primefaces component performed an action using jQuery function

I want to make a refactoring in my code, and for this I need to get the id of a component that has undergone an action. My target would be that I have two datatables , and wanted to get id from them and from id defi...
asked by 08.10.2014 / 20:11
1
answer

How to get the values from a list of inputs with the same ID by WebForms?

I have a list of inputs that are automatically generated by script and they are inserted into a form getting like this: <input type="text" id="txtValue" name="txtValue" /> <input type="text" id="txtValue" name="txtValue" /> <inp...
asked by 07.10.2014 / 17:03
1
answer

Overwrite table data with DataTables

Every time I make a change in the select, it calls this function, it picks the id of the selected tax and searches for the (daughters) tax rules, I need to update the table every time it changes. DataTables warning: table id = imposed rules - Ca...
asked by 24.12.2018 / 13:53