ajax

jQuery AJAX: collecting multiple asynchronous results

I'm running a validation on form data, such that when somebody hits the submit button it checks the form's contents first. A number of fields (could be zero, could be more than one, depending on the page) have things like unique codes which require checking with the server first. I'm running an asynchronous request to the server, which s...

Autocomplete: populate multiple fields based on selection.

Hi. I have a form, and there are 5 fields. The first field is an autocomplete field. I'd like to have the other 4 fields populated based on the autocomplete field selection. The docs in github ajax.autocompleter page reference setting an id and using a js function to call the id value, but this doesn't seem efficient if using multiple f...

Is there any way to debug a call coming from an AJAX post?

Is there any way to debug a call coming from an AJAX post? This jQuery fires when the user hits OK: $.post( "/Detail/Copy", { bpid: $("#benefit_plan_id").val(), year: $("#copyYear").val(), plan: $(this).val() }, function(data) { } ); If I put the breakpoint in my controller: <AcceptVerbs(HttpV...

What is the easiest, most reputable, most seasoned AJAX framework?

I have dabbled with various AJAX frameworks, namely GWT, Dojo, Ext-JS, jQuery UI. I am interested in understanding what AJAX frameworks best meet the following criteria: - Most easy to learn - Most painless to keep maintained - Most reputable, stable, founded & grounded - Easiest to read and share - Integrates well with J2EE ...

Can you set the css class for the div generated by an update panel from the code behind?

If I have an UpdatePanel <asp:UpdatePanel ID="udPanel" runat="server"> ... </asp:UpdatePanel> creates this div when it's rendered <div id="ctl00_udPanel"> How do you reference this in the code behind to change the css class dynamically? ...

Jquery UI tabs abort does not work.

Hi I have a jquery ui 1.7 tab and I am trying to "abort" the request. so I have this in my document rdy. $.ajaxSetup( { 'timeout': 10000, 'error': function errorCallback() { jAlert('The server is acting a bit slow. Your request has timed out. Please try again.', 'Server Ti...

Ruby - Ajax: update session value when clicking on a link

I have this ruby function in a controller def updateSession value case value when 1,2 session[:value]=1 when 3,4 session[:value]=2 end end And I have different links that redirect to different pages. I would like to change the session value when clicking on those links by calling the updateSession function Is it...

how to clear the ajax cache in ie

I'm using jquery ajax, how to clear the cache of the ajax result? ...

how to make ajax submit redirect?

in php, if i submit via ajax, how to redirect to other page when result comes back? ...

AJAX style uploader

Morning all. My script is running here: http://www.actwebdesigns.co.uk/web-design-mansfield/php-functions/AJAX-style-image-uploader-script-php-jquery.php It is an ajax style uploader. My problem being: when image is uploaded, it calls for a refreshed list of images that have been uploaded. But once it has been refreshed once, the "g...

Progress Bar using javascript

I want to show a processing bar to the user. The problem statement:- The user has a number of transactions to approve. When he multi selects say 10-20 transactions and approves by clicking on the approve I have to send each data via AJAX, process it one by one & then after I finish i will have to show the user the status that all transa...

AJAX textarea blocked for writing when processing request

I have a textarea where people can write comments and click a button to post them. The processing is done with AJAX and so I want that as long as the server is processing the user request (and after too), the button and textarea will be blocked for editing/writing/clicking. It's very similar to how comments on Youtube videos work. Do y...

How to solve duplicate objects in dynamic loading page by using jQuery?

I want to solve duplicate objects in dynamic loading content. Please look at the following source code for easier understand. Base Page HTML With 1 Dynamic Loading Content <body> <div id="general-div"></div>> <div id="div1"></div> <div id="placeholder1"> Dynamic Content will be placed inside this. <...

Ajax - getting separate lines of data

hi. i would like to ask if it is possible in ajax technology (working with servlets) to get not the whole data from responseText but line by line. i mean when putting in servlet lines of text using println method (response object) i would like to get every seperate line on the client side (for displaying achieving data like in console) ...

Problem with jquery ajax in Opera and Google Chrome

I have a page where I need to add a drag and drop functionality to certain elements. When the drop event occurs, it makes an ajax call to a php function and then refreshes the contents of a div. I'm using jQuery with jQueryUI for the drag and drop, and CakePHP as a PHP framework (not sure if this is relevant). Everything is working just...

jQuery find() returning an empty string in Google Chrome

I'm using jQuery to setup an Ajax request that grabs an XML feed from a PHP script and then parses some information out of the feed and inserts it into the DOM. It works fine in Firefox; however, in Chrome, I am getting an empty string for the title element. Here's the basic setup of the Ajax request: $.get('feed.php', function(oXmlDoc...

Searching a Jquery Cycle Pluggin for Mootools

Hi, im looking for something like this: http://www.malsup.com/jquery/cycle/basic.html but made in mootools, do you know about one? :) thxs. ...

Problem with cache asp.net

VS2005, ASP.NET, C#, IIS6 Hello friends, I have a master page divided into three sections i.e. header, details, footer. The header section contains web user control having AJAX tab container. We are showing or hiding tabs according to user previleges. Initially only one tab is active showing user to log in. When the user logs in othe...

Slideshow2 Mootools problem in IE

Hi, im trying to implement Slideshow2 but I have problems with IE, as you can see in this test: http://kb.muscarienlinea.com/mo/ the Slideshow works ok in FF and Chrome, but is not working on IE7 What im missing? Thxs :) ...

ajax loading image..

I have a page which checks a form for valdation, the main checks are for if the email or username is already in the database. I have this working fine, but I cannot figure out how to add a loading image...for when the user changes either username or email when it is being checked. my fucntion to check username is below, its similar for ...