Questions tagged as 'ajax'

1
answer

How to send Images via AJAX to php

Good afternoon, I would like to ask for your help. Home I have a system where I need to send an Image of a <input type="file>" to a PHP page via $.ajax() to it, I can upload this image to a sufficient one, while I take the pa...
asked by 03.12.2016 / 18:48
1
answer

user location by IP [duplicate]

I would like to know a php library that would help me with the location of the user's IP access, well I found one on the internet and it worked well (did not exactly show the location) only 50 km of difference but at least know the city of acc...
asked by 12.01.2017 / 01:44
1
answer

Disable automatic refresh of a Grid [closed]

Hello, I have been trying to disable refresh a AjaxUpdatedControl of a RadGrid that occurs when I click a button on this Grid. Does anyone have any suggestions how to do this?     
asked by 01.09.2016 / 19:13
2
answers

Get id onclick and send values via Ajax

I have a list of tasks, it has the status part, which shows for example 'In Test' and a Approve button. I'm trying to get this Approve button when clicked, grab the Task Id and send an update to it to change its status. But so far I...
asked by 29.08.2016 / 21:28
1
answer

How popular is a select with JQuery, JSON and AJAX? (MVC)

I followed some codes that I found here on how to populate a selectbox, but it is not working, is something missing? I'm getting a list of data with my Controller. JavaScript $(document).ready(function () { $(document).select...
asked by 03.10.2016 / 16:53
2
answers

Get JSON value and set AJAX behavior

How to get the value of JSON with ajax and define the behavior of which div and which message to display, for example: If JSON returns {"error":"true","message":"Algo deu errado"} would show any div, "error" for example, with the messa...
asked by 20.10.2016 / 08:36
2
answers

How to return a pure Json (without XML encapsulation) using webservice in C #

I have a webservice running locally , which performs queries directly in a database using a string parameter . Here is the result of the query: ThesecondtimeIhaveajavascript(Jquery)applicationthatconsumeswebserviceviaAjax.Aftersomeresearch...
asked by 02.11.2016 / 15:08
2
answers

Set click event to an element that was inserted via AJAX after page load

I'm developing an instant search system with jQuery, Ajax and PHP. I created a navigation system for the keyboard arrows in the resulting search options. It's running smoothly. But what I want to do is that when the 'enter' keypad is pressed on...
asked by 26.04.2016 / 20:38
3
answers

Receive variable in php and call Ajax function passing this variable

I'll explain this post better, I do not think it was clear on the issue. Today, I have a page where I search for a certain term and the result is then presented to me, a search AJAX Live Search . The page looks like this: Thecodeisl...
asked by 21.07.2016 / 23:45
1
answer

Validate for js with for each

In this screen I need to do a validation so that in each record, when the registry is allowed, in case it is marked, bring me the registry that is marked every time I edit (check or uncheck the checkbox). In the case the best way I foun...
asked by 26.11.2015 / 15:29