Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Javascrip retarget a targeted script.
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Javascrip retarget a targeted script.
Divers
Thread ID:
00988559
Message ID:
00988559
Vues:
84
My project is using a "hidden" (zero height) frame as a stage to launch attributes settings on form objects in targeted frames, and "launch" alert boxes returned by an ISAPI COM. It's neat because the "Contents" (or any requesting) frame is not over written with the script returned by the server.

The form action in the "Content" frame targets the "Launch" frame to receive the server script. When the server determines an error, a page with [only] an alert() is launched from the "Launch" frame, and the contents of the "Content" frame remain intact.

However, when the server returns a success script (html/javascript), the script needs to launch from the "Content" frame (noting the form action that made the request is trageted to receive the fail or success script at the "Launch" frame.

I tried placing a target="Content" form attribute in the return script (success response) - and for some reason it launced from a third frame that was not scoped.

I also removed the target from the form action request to see if an alert() only response script could be targeted to the "Launch" frame with an embedded form tag. I got the alert() box, but it wiped out (blanked) the "Contents" frame.It should have fired from "Launch"#%$&^

Is there a way to "retarget" server [response] script to a frame other than the targeted frame of the form action that "submitted" the request?
Imagination is more important than knowledge
Répondre
Fil
Voir

Click here to load this message in the networking platform