this way, you can use JS in the loaded code to directly alter the required layer content.
It can be seen in action here: AfroAPI Examples - File Handling : URL
Frederick Samson wrote:
Hi all! Congragulations for the DynAPI2 product and it's appearance on
ZDNet.I want to create a proof of concept that gives the possibility to refresh
only parts of a DHTML page after some user input. Exemple : the user makes
some choices with input controls and click a button. An HTTP Get request is
sent using a single [invisible] LoadPanel (the messenger) and an ASP script
return the result. That result may contain HTML for many DynLayers so each
result specify it's recipient. The LoadPanel subclass (the messenger)
interpret the result and distribute the results. After it may process with
the next query.My questions are :
1- After a call to setURL on the LoadPanel, how can I be notified when the
result has been received? I could then use getHTML, interpret it and
distribute the result BEFORE the LoadPanel send the next query.2- Any suggestion on how I could encode the pairs of {Recipient, HTML}. It
should be easy and fast to parse. Would it be a good idea to return many
forms with one TextBox (Recipient : DynLayer name) and one TextArea (HTML)
and then iterate in the LoadPanel's document's forms?Thanks!
Frederick Samson
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com._______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help
--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010
