Questions tagged as 'ajax'

0
answers

Auto search (Auto complete search)

Good afternoon! I'm trying to implement an auto complete search on my system. But so far I have not achieved a satisfactory result. What I want is when the user search goes showing the result, as google does. I already tried it, I already tried...
asked by 06.09.2017 / 22:59
1
answer

How GET works with AJAX

I have a page with AJAX that is working, actually it does not work better, I'm trying to understand how AJAX works with the url for pagination to work properly. What happens is that in normal pagination, without AJAX each...
asked by 10.09.2017 / 16:55
1
answer

How to update a specific div on the page?

I would like that after $ajax has finished, update the div tag that has as #coments , because in this div it loads the data from the database. HTML <div id="coments"> <!-- // Query dos comentár...
asked by 05.09.2017 / 20:27
1
answer

How to call a controller method using Ajax using MVC5 in visual studio?

Hello, I'm new in development, and I'm developing a data entry whereby the user type the system to search in the Api of the mail and the address related to the zip informed, but I've seen in many articles on the internet, but not I'm getting succ...
asked by 06.09.2017 / 23:42
1
answer

Execute the submit of a form in the click event of an element

What is the best way to do a POST at the click of a button on an ASP.NET MVC form.    View Create: @model Projeto.WebERP.EntityFramework.Entities.Pais @{ ViewBag.Title = "Create"; } <div id="bannerMessage"> </div> | @Ht...
asked by 29.08.2017 / 02:34
1
answer

How to get the Value result of Div divValor. result [2] in the mvc controller?

$(document).ready(function(){ $("#btnSend").click(function(){ $.ajax({ url:'@Url.Action("VerificaCep","ConsultaCep")', type: "GET", contentType:"application/json",...
asked by 09.09.2017 / 23:11
1
answer

Select with php javascript ajax json

<script src="http://yui.yahooapis.com/3.12.0/build/yui/yui-min.js"></script><scriptsrc="js/jquery-3.2.1.min.js" ></script> <script type="text/javascript"> function run(){ var id = $("#id_Turma").v...
asked by 26.08.2017 / 00:11
1
answer

Run Modal Open Script in Ajax. W#

Problem: I'm in the view index, it has a button that opens the Create view on a modal screen, on that modal screen I want to execute a javascript code, but for some reason it is not running. I'm opening a modal view with the following code:...
asked by 23.08.2017 / 20:04
0
answers

Receiving PHP response in AJAX

Friends, I am developing a script to send an email according to the users' choices. Below is the ajax that sends: $.ajax({ type: "POST", url: "inc/enviar.php", /* endereço do script PHP */ async: true,...
asked by 22.08.2017 / 18:40
1
answer

Disable event dates (fullcalendar)

I have the following code using the plugin "fullcalendar" and I would need to disable the dates that have registered event. I made a registration with the plugin's dayClick and then listed the entries with ajax. var calendar = $("#calendar").f...
asked by 21.08.2017 / 16:06