Top DevX Stories
Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Search the forums:

Go Back   DevX.com Forums > DevX Developer Forums > AJAX

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 11-03-2009, 11:57 AM
bhardage bhardage is offline
Registered User
 
Join Date: Nov 2009
Posts: 1
Limit to the number of consecutive AJAX calls?

Hello,

I've written an application in which I have 4 select boxes a, b, c, and d. When I make a selection on c, it has, in its onchange function, logic to automatically populate d, and when I make a selection on b, it has, in its onchange function, logic to automatically populate c and call c's onchange function, and so forth like this up to a.

So, when I make a selection on a, it automatically populates b, c, and d. The way it populates the boxes is using different AJAX calls.

When I select an option for a, though, b and c are populated but not d. d's onchange function is called, in which d makes an AJAX call to retrieve its data, but the AJAX call never finishes. The XMLHttpRequest object's ready state never makes it past 1.

However, if I make a selection on b (a's direct subordinate), everything works fine and d is populated correctly.

Any ideas on why this might happen this way? Is there some limit to the number of uses of an XMLHttpRequest object in a certain period of time?

Any suggestions would be helpful.

Thanks,
B.J.
Reply With Quote
  #2  
Old 11-04-2009, 08:46 AM
Hack's Avatar
Hack Hack is offline
Super Moderator
 
Join Date: Apr 2007
Location: Sterling Heights, Michigan
Posts: 7,719
Welcome to DevX

You might find this interesting...

http://stackoverflow.com/questions/5...opular-browser
__________________
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista

Microsoft MVP 2005/2006/2007/2008/2009
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to debug classic ASP pages during AJAX calls in ASP.NET website andwan0 ASP.NET 1 09-03-2009 06:23 PM
Why do I have 85 of the exact same error with one module? IBMT43 C++ 18 12-13-2006 03:49 PM
Prime number program to make go faster divagoddess C++ 12 05-07-2006 11:55 PM
how to limit number of record display per page zam ASP.NET 6 09-28-2001 03:44 AM
Limit the number of records allowed in a table Rick McLean Database 4 11-28-2000 05:43 PM


All times are GMT -4. The time now is 08:10 AM.


Sponsored Links



Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.