Click to See Complete Forum and Search --> : Is there any way to....


Burrow
02-02-2003, 10:51 PM
Okay,

I have the following script on a page.


<script language="Javascript">
<!--

document.writeln(" Name: " + Name +"<br>");
document.writeln(" Is number " + Number);

-->
</script>

Okay, that works well enough, but only if I have the actual variable on the page.

Yet to keep a sense of order on my page, I wanted to have a seperate list of .jsp files that could contain the variables for Name and Number, where I could then just upload them using some kind of an if/then statement.

Although, when I try this, the information never loads into the page with the above script. SO.. I was wondering if it is even possible to transfer variable via a .jsp file into another script.

If any help is possible, Thanks.

khalidali63
02-03-2003, 12:21 AM
yes it is possible.You only have to see that how the page loading logic is contructed.If you follow the sequential logic on your page,this should not be any matter.

cheers

Khalid

Burrow
02-03-2003, 03:13 PM
Ahh,

so it's based on logical construction.

And yeah, sorry I did mean .js :)