AJAX (Asynchronous JavaScript and XML) is a technique for creating seamless interactive websites via asynchronous data exchange between client and server. AJAX facilitates communication with the server or partial page updates without a traditional page refresh.
0
votes
3answers
51 views
submitting the form without waiting for AJAX response
$('#form1').submit(function () {
var filal = $('input#l_email').val().length && $('input#l_pswd').val().length;
if (!(filal)) {
$("div#login_feed").fadeIn(400);
return ...
0
votes
0answers
17 views
Jquery using $(window).on('beforeunload') with statechange and ajax
I would like to call an alert window as with $(window).on('beforeunload') when the user clicks the back button or navigates to another page, but I have the following function bound as well:
...
0
votes
0answers
2 views
Kendo Ui Editor not sending FK on Create
Using the Kendo Grid with popup Create. Here is the code with datasource:
var PersId = $("#PersonId").val();
var ds_CommentsGrid = new kendo.data.DataSource({
transport: {
read: {
...
0
votes
0answers
40 views
Execute code once images from ajax request have loaded?
I'm building my portfolio site. I'm loading pages with ajax and utilizing the HTML5 history API for a smooth browsing experience. I am facing difficulty getting the page transition right - I would ...
0
votes
0answers
5 views
JSF/Primefaces AJAX reset selectonemenu
I am creating an ajax based form which also resets the entire form upon submission. As the code is, after submission (submit button) everything is reset except the "selectOneMenu" primefaces ...
-2
votes
1answer
35 views
How to Populate a dropdown list based on value in textbox?
I want to populate a dropdown list based on the value in a textbox in my form ?
How this can be implemented ? Thanks !
here is what i tried :
<html>
<input type=text id=name maxlength=15 ...
0
votes
0answers
66 views
Call my php script from a javascript function
I have a form that upon submit calls a php script to create a drop down list based on a database query. I then need to be able to select an item in the dropdown list, hit a button and have a form ...
0
votes
2answers
24 views
ajax call on form completion
I have a form that a user completes. after the user is done he clicks submit, the script runs and does some fancy things and returns to finished.php. on this page I have the results of his $_POST ...
1
vote
2answers
24 views
XMLHTTP request passing JSON string as raw post data
My JavasSript sends the request:
var jax = new XMLHttpRequest();
jax.open("POST", "http://localhost/some.php", true);
jax.setRequestHeader("Content-Type", "application/json");
...
0
votes
2answers
20 views
Save value from external page into Javascript variable using jQuery
Let's say I have one page that displays the number "5". The page source code looks like this:
5
Now, on a different web page, I want to save the contents of this page (5) to a Javascript variable. ...
0
votes
3answers
37 views
String to array of array
I have an ajax routine that return a string that looks something like this
[["analog.__VG_SPP3_SFRTPCT","analog.__VG_SPP3_SFRTPCT"],
["analog._3305_LIST210_1","analog._3305_LIST210_1"],
...
0
votes
1answer
57 views
Cross-domain AJAX withCredentials, PHP returns header content-lenght, but no content
I am trying to send a cross domain request from a page on one domain to a PHP server on an other domain. Everything works fine without credentials (I need session) but as soon as I add credentials, it ...
0
votes
1answer
16 views
Cannot get data to display on chart
I am receiving data correctly in my console from the mtgox api. However, I cannot get the data to display on my chart. I'm using highcharts. Any help is appreciated. My code is posted below. ...
1
vote
1answer
69 views
Why does this AJAX request always fail?
I'm new to both Ajax and Javascript, and I'm having a heck of a time figuring out why this request is always failing:
function sellStock(sellData){
$.ajax({
url: ...
0
votes
1answer
26 views
linkbutton of an asp.net gridview control within an ajax update panel throwing error
I get the following error.
JavaScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received
from the server could not be parsed.
I tried debugging it, ...