JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old October 9th, 2007, 07:15 AM
nanna_govind nanna_govind is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 2 nanna_govind User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 46 sec
Reputation Power: 0
Post Need Help Debugging Script/Error in Script - Regarding javascript

Hi All,

We have a problem with javascript.It is executing properly but taking so much time 2-3 min to display values,which is the coding result.

We need to display them within 10sec.

Actually we wrote in javascript coding is,we are passing 3 URLs as parameter to remote server,getting values and displaying them in web page.

In the mean while of displaying values,it is showing script error message as,

"A script on this page may be busy,or it may have stopped
responding.You can stop the script now,or you can continue
to see if the script will complete".

We are getting this message 4-5 times before displaying values.We have to click continue button in the error message,in order to display values.

Can any one help us,why this error will come.

If any knows how to solve this problem,please help us,we need it urgently.

Thanking u all.

Reply With Quote
  #2  
Old October 10th, 2007, 02:51 PM
Mittineague's Avatar
Mittineague Mittineague is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jul 2005
Location: West Springfield, Massachusetts
Posts: 548 Mittineague User rank is Private First Class (20 - 50 Reputation Level)Mittineague User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 6 h 35 m 44 sec
Reputation Power: 4
slow script

Hi nanna_govind, welcome to the forums,
It sounds like the HTTP transfers are the bottle-neck.

Reply With Quote
  #3  
Old October 10th, 2007, 10:59 PM
nanna_govind nanna_govind is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 2 nanna_govind User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 46 sec
Reputation Power: 0
Thanks for your reply,

Actually we need to get display the values within 10 sec.Can you tell us the way how to solve this problem with an sample example.

Waiting for your reply.

Reply With Quote
  #4  
Old October 12th, 2007, 04:08 PM
Mittineague's Avatar
Mittineague Mittineague is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jul 2005
Location: West Springfield, Massachusetts
Posts: 548 Mittineague User rank is Private First Class (20 - 50 Reputation Level)Mittineague User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 6 h 35 m 44 sec
Reputation Power: 4
example

Sorry, I don't have one on hand, but if you post the code you're having trouble with it would be easier to debug.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > Need Help Debugging Script/Error in Script - Regarding javascript


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway