Jump to content

Returning *as* a script is in progress?


Anidazen

Recommended Posts

Hey guys.

 

I've never created an AJAX application, but I've looked at tutorials etc, and I think I understand the concepts.

 

The problem is, my script is designed to update piece-by-piece. This means not waiting for the called page to finish loading. How can I update as each different section of my script is ready? I can write any javascript, no problems -- do I need to use iframes or is there a clean way?

 

Thanks in advance.

 

 

 

Just to clarify... I would be fine doing this with an Iframe. I'd just pass arguments to the PHP in the URL, then write parent.function1("Values");

- or something similar.

 

What I don't understand is how to call functions in a similar way from the XMLRequest thingy that's used for cleaner AJAX -- without waiting for the entire page to load?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.