Ajax Talk - Asynchronous javascript and xml discussion board
 FAQ   Search    Usergroups      Register   Profile   Check your messages   Log in 
Signup now to enjoy a range of free membership advantages !!
Ajax Talk - Moderators Wanted
AJAX consecutive calls do not work

 
Post new topic   Reply to topic    Ajaxtalk.com Forum Index -> AJAX Help
View previous topic :: View next topic  
Author Message
Jerrysprite
New one
New one


Joined: 13 Sep 2008
Posts: 2

PostPosted: Sat Sep 13, 2008 10:29 am    Post subject: AJAX consecutive calls do not work Reply with quote

I have a AJAX script that updates the options of a dropdown <SELECT>. It works very well if I use it only once. It is a standard AJAX script with Java passing a request to a simple php script and then processing the reply. Unfortunately if I want to update several <SELECT> with successive calls of the same script, only the last select is updated.

To call the script, I use something like, and this doesn’t work properly:
<body onload=" showSelect('emp','empl','NAME');showSelect('cust','customers','NAME');">

Each of the showSelect that I use work very well if I attach them individually to a click event of a button.

I would highly appreciate if someone could suggest a solution to make successive calls work.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Ajaxtalk.com Forum Index -> AJAX Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
 Advertisements
 XML & Copyright Notice 
    


Powered by phpBB © 2001, 2005 phpBB Group

What is according to Wikipedia: Ajax Web2.0 XML E4X


Link to our site:

  


del.icio.us digg spurl wists simpy newsvine blinklist furl blogmarks yahoo! myweb smarking ma.gnolia segnalo reddit fark technorati cosmos


Normal Bookmark


Partner Button Links:
Codecrunch.com: Webmaster Tutorials    One Ajax


Partner Text Links:
quomon | web20log | ajaxmatters | tableless | 456bereastreet | music charts | gift ideas | competitions | free xbox 360 | link trade ?


Credits:
it consultancy & project management lead generation zoekmachine optimalisatie steal these buttons seo expert