-
Request.ServerVariables
Is this possible?
<script language="javascript">
function popMeUp(ww)
{
var tt = Request.ServerVariables("SERVER_NAME");
alert(tt);
}
</script>
I have also tried this:
<input class="X" onclick="popMeUp(Request.ServerVariables('SERVER_NAME'));" type="button" value="Go1" >
The reason I wish to use this function is I call Windows.open and redirect a page to a different panel. I .E window.open(Form1.Logfiles.options[Form1.Logfiles.selectedIndex].value,'main')
I have tried to use Response.Write () but It does not work like I want it to.
If I cannot use a server variable method, how do I pass this type of variable to this function.
Thanks,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks