ajax

Checked checkbox in gridview, in c# codebehind checked property is false

Hello, I have custom upload control. The control has gridview with the uploaded documents and the first column has checkbox for selecting documents I want to delete by clicking Delete button. The upload control is contained in other UserControls almost everywhere in the application and works properly, except at one control. The problem ...

jQuery ajax is making connection, but the response is blank?

Hi all, i'm trying to make a test with ajax response using an external array as a config file... But it isn't working, i'm getting always a blank response... Can anyone point me the reason? Here is the link of jsBin test: http://jsbin.com/udanu/2/edit ...

Ajax File Download using Jquery, PHP

Hi, I want to use the ajax functionality to download whereby the user will click the download link which will (using ajax and $_GET) access a PHP file which will process the sent $_GET variables and access the correct file for downloading. I have a few PHP scripts to handle the processing of the $_GET variables which work on their own ...

ZF AJAX drop down

How can i code for country state dropdowns in zend framework using ajax I am not using zend_form class using zend_helpers for building form . any example code please. Thanks ...

jQuery.post() refreshing page in Firefox despite async: true

Hi all, This is my first post and I have the feeling that this is something stupid. I have already been to this question: http://stackoverflow.com/questions/511947?tab=newest#tab-top although that still did not really help. I have 3 PHP pages. The main page is the one with all the jQuery on it: <body> <script type="text/javascript...

Handling server-side validation with Ajax forms and ASP.Net MVC

Hi, Before down-voting or closing for duplicate questions, I want to make clear that I have read old posts on this site and others. The problem is that they are old (some at least) and are not giving really good examples. I currently use ASP.Net MVC 2.0 with Ajax.BeginForm and jQuery Validation client-side validation which both works p...

How can i refer the object on jQuery?

Hi all, I'm making a script which has one ajax call inside an each function. The problem is that on the success callback from ajax call, I want to use the object that we are using at each function. EDIT: Here is some of my code: configs={ general:{ max_ads:6}, logs:{ selector:"div#MicrodualGetAd-debug"}, connection:{ ...

jquery ui loading dialog on click only firing once.

I have an anchor tag on my page that toggles between active and cancelled entities. Only one link is showen at a time depending on what the user wants to see. I use ajax to replace the html with either active info or cancelled info. See below. The problem that I'm having is that when the user clicks the link the loading dialog should ...

Is it possible to get the contents of a Google Docs Spreadsheet from within a GMail gadget?

Here is what I figured so far: To get content of the spreadsheet "od6" with the ID "0Aj3x4n7SOPMRdFA2VmJuampIUDFzdlAwRUwtSEJacmc" you have to acces this URL: https://spreadsheets.google.com/feeds/cells/0Aj3x4n7SOPMRdFA2VmJuampIUDFzdlAwRUwtSEJacmc/od6/private/full (see API) This works fine, if I put the URL into my browser (because I'm...

AJAX-Request from Phonegap Apps

I'm working on a mobile web-app using HTML5 and sencha touch. My next step is to add some native capability using phonegap. My app uses Ajax requests to retrieve data from a server component and i am not sure if ajax will work within phonegap packed apps? Should i use JSONP instead? ...

Using plaintext as a jQuery UI Autcomplete data source?

I've come onto a project that is a little bit out of my skillset (as I'm a front-end dev), but I was told to tackle it anyway. Basically what I'm trying to do is integrate jQuery UI's Autocomplete with a dataset that is plain text. Here's the "handler" file which grabs the data: <%@ WebHandler Language="C#" Class="ETFSymbollookupDa...

AJAX ModalPopup update panel contents based on change in panel controls

I have an AJAX Modal Popup panel that contains a RadioButtonList, 2 labels and 2 DropDowns. I want to update the Labels and DropDowns when a radio button is selected. My attempt at this posts back which causes the ajax popup to disappear. aspx called on image click: <asp:Panel ID="pnlModalContainer" runat="server"> <asp:RadioButt...

JSON being returned is structures as function call. Can't figure out how to parse with jQuery.

I'm talking to a server and the JSON response looks like this: someResponse({ "Response":{"status":"3","message":"Not valid bla bla"} }); Proper JSON should look like this, right?: { "response": { "status":"3", "message":"Not valid bla bla" } } Is there a way I could somehow reach that data with jQuery i...

Can I make simplemodal contact form post across domains?

I'm using the SMCF Wordpress plugin on this site: http://fingelly.com/ As you can see it uses ajax to post the form fields to get mailed and then updates the modal. Some of the nav options at the site take you to a 3rd party IDX (real estate listings) provider. For example click on the tabs marked agents and the url changes to fingelly...

How do I enable REST communication with Tomcat 7's CSRF protection?

I have two webapps. One that is serving content to the other over XHR/REST calls. One is in Tomcat 7 (with CSRF protection), and the other is in Spring's tcServer 6 (Tomcat 6.x). The servers and webapps are setup as such: Tomcat 7 with CSRF on port 8081; webapp communicates with other apps via REST Tomcat 6 on port 8080; webapp calls ...

Simple PHP, AJAX request

Right now I'm struggling to get this simple PHP AJAX request to work. <html> <head> <script type="text/javascript"> function getSuggestions(type){ if(type == "") { document.getElementById("entries").innerHTML="test" return; } if (window.XMLHttpRequest) ...

jquery - problem with synchronize ajax and dialogbox in function

Hello, I have problem with synchronizing results of function I get with AJAX with that function. The idea is that I send AJAX request, then after reciving answer I open dialogbox, and after user confirmation function returns proper value. Problem is that my function (even if I set ajax request not to be async) doesn't wait for response a...

Sumbit a form by clicking a gwt button

Hello. I am trying to make the browser's password manager remember the input from the ajax form generated with gwt. My idea is to use a hidden standard static html form on the page, and let the browser use that one. However, now I have to make the form submit the data upon clicking my custom gwt login button. I can get the form elemen...

Ajax call to a method that prints javascript

Ok, I have a some javascript code in the database Table: jsSnippets Field: snippet Type: Text <SCRIPT SRC="https://svc.com/somestuff.js"&gt;&lt;/SCRIPT&gt; <script> var fubar = 'stuf' send_some_stuf_to_svc(fubar) // sends some data to a service :) </script> So i have N number of this JS snippets will that code work if a server ...

Ajax script in a div not reading variables from parent

Hi, here is what I have (please excuse the crappy art): ------------------------------------------ |Menu | |----------------------------| | | |Big Div | | | | | | | | ------------------------ | | | | |Smaller Reloading Div | | | | | | ...