Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 688

Setting an image from an external ASP page

$
0
0
I don't know if this is possible, but here's what I am trying to do:

I have a javascript on a ASP page which references another ASP page to set an image on the first ASP page.

This is the javascript on the first ASP page which is executed from a button click:
Code:

document.getElementById('Image1').src = 'http://www.myweb.com/ImageBuilder.asp?' + Fields;
My vbscript/ASP question is:
The ImageBuilder.asp file uses vbscript to select the correct image from the parameters passed via 'Fields'.
What code/syntax do I need to use to return the correct image path to the first ASP page?

I've seen this done in PHP (using ECHO), but I am hoping it can be done in ASP.

Viewing all articles
Browse latest Browse all 688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>