Questions tagged as 'jquery'

0
answers

Resizing images before uploading

Good afternoon, my application already uploads images using <input type="file"> , but only images that are smaller than 2mb. I'm storing target.result in the database and returning <img> . A file above 2mb of a ser...
asked by 28.02.2018 / 21:10
0
answers

Open PDF Internet Explorer

Hello, I need to open PDF from my table on the click button, it is working in all browsers, except in IE, at first it's just convert base64 to something that IE supports, automatic, via javascript, but that's not what I am getting it. This is...
asked by 22.02.2018 / 13:06
1
answer

Error while doing autocomplete c #

I'm trying to do an autocomplete, but it's giving the following error, not even doing the post ... Mycodelookslikethis:<scripttype="text/javascript"> $(function () { $("[id$=DsValor]").autocomplete({ source: function (reque...
asked by 15.02.2018 / 01:00
1
answer

Problem with Ajax URL

Every time I try to call the method of my controller it appears a url different from the one I'm putting in the AJAX url, why this?     
asked by 14.02.2018 / 02:48
1
answer

Return results with POST Jquery and PHP

I have this script that does the search in the database and returns the values inside each input: $('#cidade_estado_sel').hide(); function limpa_formulários(){ $('#nome').val(""); $('#telefone').val(""); $...
asked by 13.02.2018 / 12:54
0
answers

Ajax does not work on the server

I have read some answers in the forum, but none have solved my problem, Ajax works on the site, but when upload does not work, follow the code: jQuery('#formLogin').submit(function(){ var dados = jQuery( this ).serialize(); jQuery.aja...
asked by 13.02.2018 / 18:54
1
answer

display content from another page using fancybox

I have a page with the names of several products and I would like to click on one to open a fancybox with the details of each product. These details (name, price, etc.) are on another page and would like to display them on the same page as the p...
asked by 12.02.2018 / 00:41
1
answer

Django create page using Ajax

I want to upload without refreshing paging using ajax I have a table where it shows 5 items per page the goal is to change the page do not refresh the page to change to the next In views: Inthepaginationnavtemplate     
asked by 09.02.2018 / 16:45
1
answer

POST image, via ajax

Hello basically what I want to do is a system similar to facebook, to create posts. Where you press on send photo, choose the photo and automatically the photo goes to the server and has a visual feedback that the photo is going and then the thu...
asked by 14.02.2018 / 20:28
2
answers

How to check form values before submitting it JavaScript / jQuery

I need to do a two-field check of a form before submitting it. I need to check if the field 'minimum_store' is less than the 'maximum_store' field. I have already made countless attempts and none worked well, incredible as it seems sometimes...
asked by 19.02.2018 / 15:35