How can I get a server value into client event?
Or is there another way around my problem?
I have a ASP page that need to get the server IP
(Request.ServerVariables("LOCAL_ADDR")) to open a new asp page
this is some of my HTML that I want to work.
<HTML>
<head>
<title></title>
<script for="Meny1" event="OnSettbruk" language=Javascript>
verdi = <%=(Request.ServerVariables("LOCAL_ADDR"))%>;
<--------------------------not working
document.Show.action = "http://"+verdi+"/hpcnet/kalender.asp";
window.status="Brukstid tabell";
document.Show.target="bottomframe";
document.Show.submit();
</script>
Regars Joachim