Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Howto: Add JavaScript in HTML using VFP
Message
 
À
24/02/2005 22:14:48
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00989993
Message ID:
00990412
Vues:
38
Still it is imaginative.

I had an issue a a while back. My project delivers html content. The content are files. My hope was to return the file as a string from my COM. But when I did that, the images referenced in a folder below the content were not carried - only the html text.

this module needed the COM to respond twice to one request. Once with js to set controls and the second was the html_to_string content. I am still at a loss as to why the html_to_string did not carry the images.

The solution was to package an http request in the onload of the js control response and fire it from the browser.

Any idea why the html_to_string would not include the images in the response?

also need to send
>Dear Terry,
>
>
>Thank you... however, when I refer back to manual of Javascript... the code
>should be either within <head> or <body>, therefore, I placed the code after
></head> is wrong, so I just changed sPos with -2 rather than +8
>
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform