View Single Post
Old 01-27-2013, 09:39 PM   PM User | #7
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,447
Thanks: 0
Thanked 496 Times in 488 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
Quote:
Originally Posted by naveendk.55 View Post
loadValues() and showState4() works fine without sendValues() in window.onload function. Also, I tested sendValues() without above two functions and that also works fine. but three functions in window.onload creates a problem. So it should not be due to the while loop. However, if any code change that you suggest on while loop, then let me know. I am willing to give it a try.
That sounds like you have sendValues() using the same global variable or variables as the other functions use but for a different purpose.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote