Questions tagged as 'ajax'

1
answer

multiple image upload with jqueryform and ajax

Good afternoon, I'm trying to upload multiple images using jquery-form and ajax to not reload but is not going to the page via ajax by onchange and is not recording to the bank nor uploading. follow code: index.php <script type="text...
asked by 28.11.2018 / 17:32
1
answer

Retrieve model list passed by ajax through FormData

I am sending an image, along with a model in which it contains a list of integers. But I can not recover when I enter the Action. I can retrieve the image, field1 and field2, the field fieldList is left blank. HTML <input type="file...
asked by 28.11.2018 / 20:40
1
answer

How to update a page after insert, update or delete with ajax without reflesh

I have code on page extena delete.php that does the actions, HTML: <div class="modal fade" id="modalAddfoto" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="mo...
asked by 21.11.2018 / 19:58
2
answers

Upload Bar

Hello, how do I create a loading bar does not have to be a progress bar, until I get the return of a function. $.ajax(settings).done(function (response) { console.log(response); }     
asked by 29.10.2018 / 15:53
2
answers

Capture variable image content

I have an HTML5 application that captures a webcam image by the browser which I need to capture and write to the database as a binary. On the server side, in PHP, I have: $directory = $img; $element_img = base64_encode(file_get_contents($di...
asked by 15.12.2014 / 13:39
1
answer

FieUpload with Ajax.BeginForm

I have a problem, I need to update an image in the database, I'm sending this image with a fileUpload, and I have an Ajax.BeginForm (because I use the ajax call to create tabs on my page.), where I know that with Ajax.BeginForm it is not possibl...
asked by 18.12.2014 / 17:41
1
answer

Json with problem, does not continue execution after request

Contortor code public JsonResult InsertComment(string description, int postID) { try { Comment comment = new Comment { Content = description, DataCommented = DateTime.Now, PostID = po...
asked by 16.06.2014 / 21:24
1
answer

POST requests AJAX ASP net MVC

Good afternoon, I'm having a little doubt, I'm doing a POST request with AJAX in ASP net MVC and everything works fine, but in firefox I get an error in the console However,inchromethiserrordoesnotappear.Hereistherequisitioncode:functionadicion...
asked by 09.10.2018 / 21:18
1
answer

Error: undefined after one ajax request inside another

Follow the code: $("#l_linha").change(function(){ var linha = $(this).val(); var dados = $("#l_linha").serialize(); $.ajax({ type: 'POST', dataType: 'json', url: 'buscarPonto.php',...
asked by 01.10.2018 / 16:02
2
answers

How to execute a function whose name is in the database?

I would like to know how to execute a JavaScript function by taking its name from the database. Example: data["nome_coluna"] // essa será a informação que estará no banco. (exemplo: somar();) // Aí o objetivo é executar essa função dentro de...
asked by 12.11.2018 / 20:22