Questions tagged as 'jquery'

3
answers

Validate the form without sending it

I'm trying to validate a form to check if everything is at least populated. The problem is that I'm not submitting the form because I can not reload the page. I'm just capturing the event by JavaScript and performing the function. Follow the...
asked by 16.01.2015 / 19:42
1
answer

Get value of 2 select, and display the data of each [closed]

I'm putting together a page where the person could compare 2 products. I have 2 tables, categories and products. The 1st comboBox makes a select in the category table. When you choose a category, it calls a file that sees which products be...
asked by 31.12.2014 / 17:28
1
answer

Ajax query to display multiple content

At the moment I have some banners that are loaded via ajax, and each one makes a request to load the html. Now I am trying to optimize these processes and I have decided to make a single request to load as many banners as are available on the pa...
asked by 06.12.2014 / 06:13
2
answers

Google Maps Iframe is not showing location markup

There is a part on my site where there is select with several places in Brazil. When selecting a place, just below it has a iframe with GoogleMaps that automatically updates to the coordinate corresponding to the selected location....
asked by 19.12.2014 / 15:45
1
answer

Organize date received and change, jquery

I get two server divs like this: <div id="1"></div> <div id="2"></div>
asked by 02.01.2015 / 23:00
1
answer

Playing an html class inside an asp.net code

I have this code: <%# Eval("DsPathDocumento") != null && !String.IsNullOrEmpty(Eval("DsPathDocumento").ToString()) ? String.Concat("href='/UpLoads/", Eval("DsPathDocumento"), "'") : "style='cursor: default; color:#000000;'" %>>...
asked by 08.01.2015 / 13:50
1
answer

Classic Sliding / Drag Slider

I wanted to make a slide slider, from right to left and vice versa, but I'm not able to increment the px number, everything is malfunctioning. HTML: <div id="next"></div> <div id="prev"></div> <div class="slider"...
asked by 21.01.2015 / 12:36
1
answer

Use selectpicker in jQuery

I have this code of selectpicker (bootstrap) <select name="nivel_p" class="selectpicker"> <option>menor que 6</option> <option>7-15</option> <option>16-40</option> <option>maior q...
asked by 24.11.2014 / 23:52
1
answer

Doubt with JSON in Autocomplete JQuery

I have the following JSON return {"cliente":[ {"id":"1","nome":"Fulano"}, {"id":"2","nome":"Ciclado"} ]} And I need my popular autocomplete , $('#nome').autocomplete({ source: function(request,...
asked by 23.11.2014 / 17:14
1
answer

How to validate input file with jquery validation?

I'm trying to validate a input of type file with Jquery Validation. Following the documentation, I do the following: My input: <input class="form-control" id="ImagemUpload" name="ImagemUpload" type="file" value=""> an...
asked by 21.11.2014 / 13:10