Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

server side value from client side script

Status
Not open for further replies.

wASP

Programmer
Jun 28, 2001
23
ZA
Hi

I was wondering if it is possible to call an external asp / html/ php page and renders its values / response into a client side variable ie:

<script language="Javascript">
// get serverside value
x = _____FUNCTIONNAMEHERE_____(' alert(x);
</script>

without using the msxml object.

I thus need to get an external server side value from pure client side script without posting a form, opening a window, or using any object calls...



>:):O> wASP >:):O>
 
Use an iframe to do it and return the value to the "parent" document by passing the value in using a function.

Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top