Questions tagged as 'ajax'

1
answer

Upload from Database only when 100% loaded

In the Portfolio section, when you press +, you can see that you load the block first and then the images with a delay of 1 second. SEE THE SITE: somospixel.com/test I want it to only load when the images have already been uploaded. Fun...
asked by 28.03.2016 / 20:54
1
answer

Refining post search results (PHP -AJAX) [closed]

I would like to know how to make a vertical menu with a form to update the data without refresh and without having to press the submit. Just click on the option you want to change. Home Like if I did a search and the results appeared, and next t...
asked by 27.01.2016 / 05:56
1
answer

Add and edit AJAX element

Good, I want to edit a tr after creating it and added by AJAX. When I click on create 'Brand': $('#confirmCreateBrand').click(function(){ brand = $('#createbrand_name').val(); advertiser = $(this).attr('advertiser-id'); user = $(t...
asked by 21.05.2018 / 13:13
1
answer

How do I send an email without completing the form

I wanted to know if I have an e-mail shot without making the action call of my form, because it has 4 steps, and in the process from 1st to 2nd step I want to e-mail the fields that have been filled, without finalizing my form, because if I use...
asked by 11.05.2018 / 14:51
2
answers

Help with JQuery + Php

I have a form that is is loaded through a while from bd. the structure is this: <form id="formulario" name="formulario" action="javascript:Func()" method="post"> <div id="div_prod"> <?php $sql_prod = mysql_query("SELECT...
asked by 25.05.2017 / 02:19
1
answer

How do I pass a database variable that is in php to javascript?

I have a program that has coordinates in the database, is taking these coordinates I would pass to another page (javascript) that would calculate the route and show a map in the screen of the users (by ip) to an establishment (coordinates) . But...
asked by 01.11.2016 / 17:24
1
answer

Use JavaScript with AJAX

I have a form on a JSP page. When the client enters the CPF, via AJAX, I get the CPF I make an appointment in the bank, if she has already registered. I get all his data, and I fill in the fields automatically. But I'm in trouble, AJAX calls...
asked by 20.08.2015 / 20:31
1
answer

Parameter error when saving data

I can not save some data, probably the error is in the parameters. My Controller: public ActionResult SalvarMilestone(Milestone milestone, int CodigoProjeto) { //if (ModelState.IsValid) //{ try {...
asked by 20.10.2015 / 02:04
1
answer

Return 2 date type in ajax

I have an ajax that returns a date in the onSelect of a datepicker, so that's fine ... but I need the query to return the ID of a select (dentists) how can I make these 2 returns on a request? follow my code:    javascript <script sr...
asked by 15.12.2015 / 18:09
2
answers

Doubt about ajax (javascript)

With a doubt, you can send from index to api (using ajax) more than one value ?. I am accustomed to using the code like that. But I do not know how to send the value of 2 different inputs. <script> $.ajax({ url: 'api.php?line=' + val...
asked by 14.08.2018 / 22:54