Questions tagged as 'jquery'

1
answer

Disable link in paging menu in jQuery [duplicate]

I have a paging plugin done in jQuery. What I can not do is when I'm on the last page, the link that gives access to the next page is disabled and the user can not click any more. In the same way the button gives access to the previous page. I...
asked by 26.02.2014 / 19:09
2
answers

How to execute a PHP script without refresh with jQuery?

If you access this site GCMC Advocacia you may notice that the menu will only change language if you double click on the flag. This is because the page is not running the script that loads the menu according to language the first time. I imagi...
asked by 04.03.2014 / 19:33
2
answers

Required does not work (.submit)

I created a common form and put button where I had to call a JavaScript for a certain situation and button could not be type='submit' . Then I put it as type='button' , I called the JavaScript function and to submit it...
asked by 04.01.2019 / 16:02
1
answer

Go through existing classes in a form and remove

I'm creating a form with validation using the jQuery Validation plugin, the form already has a ready structure, so I had to, the successful error classes were added together with the .form-group class. When the field is successfully valid...
asked by 31.12.2018 / 19:00
1
answer

Move up / down scroll bar slowly through [duplicate] link

Two fixed links in the corner of the page, if you move the mouse in the link to upload the scroll bar goes up slowly and the scroll down link is going down slowly, I saw this in an old page but I did not save it. code ... So using it for no...
asked by 26.08.2018 / 01:17
2
answers

How to format numeric data extracted from the database for monetary values?

I am using the jquery.maskMoney.js library to format system monetary data. But when the data is saved in the database and returned to the system screen the formatting is lost. How to solve this problem? I would like the formatting to remain, f...
asked by 27.08.2018 / 17:01
1
answer

Create PivotTable Header

I'm trying to create a dynamic array-based header that the function receives, the structure I tried, and did not work, is as follows: function createDynamicHeader(columns) { var table = document.querySelector('#table_teste');...
asked by 21.10.2018 / 00:59
4
answers

How to browse a list using each JQUERY

The scenario is as follows: I get a JSON array from my webservice and each time I scroll through the information according to the index (event 1, 2, 3, etc.) My job is as follows: $(document).ready(function(){ $.ajax({ type: "G...
asked by 07.12.2018 / 20:14
1
answer

Simplify and unify functions in one

How can I simplify and leave everything in a single function the script below? var plano_0 = new XMLHttpRequest(); plano_0.open('GET', 'buscar_valor.php?id=10', false); plano_0.send(null); plano_0=plano_0.responseText; plano_0...
asked by 04.09.2018 / 03:52
1
answer

Open link in new tab directly in arrayLink

How can I apply the target=_blank attribute directly to the array below? arrayLink[1]="https://url/cart.php?a=add&pid=00"; I can not apply to HTML. Follow function executed via onclick: function buyVps(){ var vpsDe...
asked by 30.08.2018 / 16:15