Questions tagged as 'jquery'

1
answer

After searching with keyup () edit in Modal and return list with edited value?

Good evening guys I'm doing a search with jQuery and the keyup () event like this: $('#colaborador').keyup(function(){ var txtInput = $('#colaborador').val(); if(txtInput.length == 0){ $('#listPhone').html(''); return...
asked by 06.07.2016 / 00:07
0
answers

Protection in Ajax request with php

I created a page, where I use the post method with Jquery for another, and return some calculations. Trying to protect, I did the following on the page: INDEX PAGE: PHP <?php session_name('ola'); $secure = false;...
asked by 13.07.2016 / 03:46
1
answer

How to add a button to add and remove the amount of a product in wordpress?

I'm using woocomerce and wanted the cart widget, which is in the header menu, to have a quantity button (add and remove). Is there a plugin that lets me add this button or some code that allows such a function? I'm using the impreza theme....
asked by 24.06.2016 / 13:53
1
answer

Perform POST with Ajax

I have a String that I need to pass by parameter. However the concatenated variable is interpreted as a new parameter and not a value. Is there a way to pass String by parameter with this character (&)? Thank you in advance. var codhtml...
asked by 14.06.2016 / 22:32
0
answers

Window Modal Semantic UI Submit and Validation on Form

I have a modal window using the semantic framework UI, I can give submit calmly using the Helper @ Html.BeginForm it does the validation of 1 field, but the others do not. I need to do this validation via jquery when I submit it by looking at...
asked by 15.06.2016 / 00:48
1
answer

Scroll elements and perform the same function for each of them

I'm making a gallery where it will have a next and previous button. Clicking one of these two buttons will perform the function that each one of them has to perform. There will be more than one gallery on the same page. I will rename the ID of...
asked by 25.06.2016 / 22:01
0
answers

Page scrolling after div with internal scrolling

In the middle of the page I have a div with an internal scroll, when I scroll the page and I get to this div when using the mouse wheel I get stuck in it, when the div finishes scrolling does not continue to the rest of the page, there is a way...
asked by 04.07.2016 / 20:20
1
answer

Return database records using jquery ajax, php and mysql

I'm a beginner in jquery and would like some help for the following situation: In this field: <input type="text" name="colaborador" id="colaborador"> How would you do where, for each letter you typed, you run a query in the databas...
asked by 04.07.2016 / 22:42
0
answers

Duplicated Scrollbar with jQuery Vegas

The Scrollbar appears twice by clicking on a tab that is larger than hers: I'musing Vegas and jQuery Hashchange . Maybe this is the code snippet from Vegas: body .vegas-container { overflow: hidden !important; position: relative; }...
asked by 05.07.2016 / 22:41
0
answers

How to use the contentType sent by the client on the server

Good afternoon! I'm trying to understand the function of contentType. As far as I know, I would be telling the server to use the formed JSON UTF8 to properly encode the data I am sending. contentType: "application/json; charset=utf-8", I...
asked by 07.07.2016 / 20:08