Questions tagged as 'jquery'

1
answer

Load variables in external php

I have a page that needs to open several modalities, so as not to compromise on loading the page I decided to call the modal only when the user requested it. I did the following AJAX function: function loadModal(modalPage, modalBox){ $.ajax({...
asked by 29.07.2016 / 01:06
1
answer

validate image input file multiple jquery in 4 ways

Good evening guys, I have an input file multiple and I need to do 4 validations before sending the form. 1) Limit the number of images sent in 10 2) Images have to be of type jpeg or png (just put an accept in the html already solves this...
asked by 30.07.2016 / 01:05
1
answer

Remove dashed border when clicking on a select combo

I can not remove the dashed border that comes up when I click on an item in a combo box, I already tried the outline: none feature of css3, but it did not work. Can anyone help me? Ex:     
asked by 20.07.2016 / 20:11
2
answers

Not being able to call the same variable out of function

I'm not able to call my variable pt1 out of function(data) and within function getImageItem . Being function(data) is within function getImageItem . function getImageItem() { var item = ""; jQuery.ajax(...
asked by 07.01.2016 / 16:41
1
answer

Expand listing when clicking

I have a select that returns me 40 records. I want to initially print 10 of them and then create a See More button where I will expand the list by displaying 10 more items until I complete my total of 40 records and disappear as soon as I fini...
asked by 17.08.2016 / 04:22
0
answers

I can not manipulate data that comes from the Web Service (Json)

I'm trying to get the result of a request to an API (json), and send it to another function that will write to the localstorage, I even got the value of the product, but with the name that is string no is working, I have tried to trim (), substr...
asked by 10.08.2016 / 15:37
1
answer

JQuery - Photo Gallery by CATEGORY

I'm working with a bootstrap template called CORLATE. In Photo Gallery, I need to take that all-All option and leave only the categories. The problem is that when you load the page, even if you remove All, it pulls all the images again, and in c...
asked by 10.08.2016 / 17:19
1
answer

Fill table without refresh?

I have a code that works with two dropdowns that automatically update themselves using jQuery, where when selecting one, the other is populated by doing the filter in my database. And just below, I have a table that I want to fill it with the va...
asked by 18.07.2016 / 18:25
0
answers

convert json data to string or array in php

I have this json and would like to know how to convert it to an arrag / string {'texto_mensagem': {'texto': 'Mensagem de envio'}, 'numero_celular': [{'numero': '5537988440956'}, {'numero': '5537988530808'}, {'numero': '5537988555533'}]} My...
asked by 13.07.2016 / 20:43
2
answers

Height of the page with javascript, take the user to a point on the page

Hello, how can I develop a way to take the user up to a certain length of the page when I click on a link! Example: <div class="roupas"> </div> <div class="bolsas"> </div> <div class="calçados"> </di...
asked by 15.07.2016 / 03:05