tagged [ajax]

Send JSON data with jQuery

Send JSON data with jQuery Why code below sent data as `City=Moscow&Age=25` instead of JSON format?

9 Feb at 17:44

How should I use servlets and Ajax?

How should I use servlets and Ajax? Whenever I print something inside the servlet and call it by the webbrowser, it returns a new page containing that text. Is there a way to print the text in the cur...

20 Oct at 13:58

ASP.NET AJAX 4.0 Tutorials

ASP.NET AJAX 4.0 Tutorials I am new to ASP.NET AJAX. Can anybody tell me good resource for the same? I have googled but was unable to find good tutorials to learn basic and advanced use of ASP.NET AJA...

5 Mar at 06:47

PHP "php://input" vs $_POST

PHP "php://input" vs $_POST I have been directed to use the method `php://input` instead of `$_POST` when interacting with Ajax requests from JQuery. What I do not understand is the benefits of using ...

24 Jul at 02:1

Display HTML form values in same page after submit using Ajax

Display HTML form values in same page after submit using Ajax I have a HTML form and I need to display the form field values below the form after user clicks the submit button. How can I do this using...

5 Apr at 12:5

Fetch API request timeout?

Fetch API request timeout? I have a `fetch-api` `POST` request: I want to know what is the default timeout for this? and how can we set it to a particular value like 3 seconds or indefinite seconds?

9 Jul at 11:39

How can I get the content of CKEditor using JQuery?

How can I get the content of CKEditor using JQuery? I'm using CKEditor. I am saving the form values with ajax using page methods. But the content of CKEditor value cannot be saving into the table. I d...

18 Dec at 11:47

List of <p:ajax> events

List of events I've searched the Internet and I cannot find a list of `` events. Can anyone provide a complete list of events for the `` tag? I'm particularly interested if there is an `onblur` event ...

12 Apr at 12:10

Ajax process from point of initiating a request to user seeing result?

Ajax process from point of initiating a request to user seeing result? I'm looking for a straight forward list(with any notable information to match the point) of the separate processes involved from ...

jQuery Refresh/Reload Page if Ajax Success after predicted time

jQuery Refresh/Reload Page if Ajax Success after predicted time I use Jquery to make an Ajax request. The server returns Json object with value "true or false" like this: Is there any way to refresh p...

20 Dec at 09:31

starting file download with JavaScript

starting file download with JavaScript When clicked these links send an AJAX request to the server which returns the URL with the location of the file. What I want to do is direct the browser to down...

1 Feb at 14:31

How to upload a file using asp.net without posting the whole page back?

How to upload a file using asp.net without posting the whole page back? I want to upload a file using asp.net so I do not want to post back the page while uploading . How can I do that and is there an...

31 Jul at 03:23

jquery ajax get responsetext from http url

jquery ajax get responsetext from http url Neither: Nor: give me an object. How do I get access to the `responseText`

14 Jun at 14:31

Ajax based username availability check

Ajax based username availability check Anyone have examples for creating a new user registration form where the web application checks for username availability via making an ajax call on the form and...

18 Nov at 12:3

$http.get(...).success is not a function

$http.get(...).success is not a function i have this code: In my local enviroment, works ok, but in a server, return this error: > TypeError: $http.get(...).success is not a function Any ideas? Thanks

7 Jun at 10:23

How can I convince IE to simply display application/json rather than offer to download it?

How can I convince IE to simply display application/json rather than offer to download it? While debugging jQuery apps that use AJAX, I often have the need to see the json that is being returned by th...

Get HTML code using JavaScript with a URL

Get HTML code using JavaScript with a URL I am trying to get the source code of HTML by using an [XMLHttpRequest](https://en.wikipedia.org/wiki/XMLHttpRequest) with a URL. How can I do that? I am new ...

Deserializing Client-Side AJAX JSON Dates

Deserializing Client-Side AJAX JSON Dates Given the following JSON Date representation: How do you deserialize this into it's JavaScript Date-type form? I've tried using MS AJAX JavaScrioptSerializer ...

6 Dec at 06:44

How do I get the HTTP status code with jQuery?

How do I get the HTTP status code with jQuery? I want to check if a page returns the status code 401. Is this possible? Here is my try, but it only returns 0.

Running script after Update panel AJAX asp.net

Running script after Update panel AJAX asp.net I am running an ajax update panel in my website. The update panel returns some new controls. I would like to set some JavaScript for the controls after t...

24 Jan at 16:11

Updating a control outside the UpdatePanel

Updating a control outside the UpdatePanel So I have a `UserControl` with some cascading `DropDownList`s on it. Selecting from list 1 enables list 2, which in turn enables list 3. Once you've made a s...

How can I load webpage content into a div on page load?

How can I load webpage content into a div on page load? Without using iframes, is it possible to load the contents of With an external site e.g. somesitehere.com When the page loads? - I know how to l...

5 Nov at 19:32

Increasing maximum response size from ASP.NET Page Method

Increasing maximum response size from ASP.NET Page Method I've got a page method on an ASPX page that gets called by a jQuery AJAX POST request. When I try to return too many results, the request fail...

5 May at 18:50

ASP.NET - Ajax.BeginForm OnSuccess call back with params

ASP.NET - Ajax.BeginForm OnSuccess call back with params I want to add more params to my OnSuccess call back (). What I did is: The JS function: ``` function HandleBasicForm(ajaxContext , myCustomVar...

24 Nov at 17:39

How to manually send HTTP POST requests from Firefox or Chrome browser

How to manually send HTTP POST requests from Firefox or Chrome browser I want to test some URLs in a web application I'm working on. For that I would like to manually create HTTP POST requests (meanin...