Helpful Information
 
 
Category: Server side development
ASP Equivalent for Javascript

Does anyone know the ASP Equivalent to this javascript?

<script>
<!--
if (window!= top)
top.location.href=location.href
// -->
</script>


Thanks,
Larry

That should work. ASP is not a language. You can have javascript in an asp page.

<script language=javascript>
<!--
if (window!= top)
top.location.href=location.href
// -->
</script>

Originally posted by ldiuf
Does anyone know the ASP Equivalent to this javascript?

<script>
<!--
if (window!= top)
top.location.href=location.href
// -->
</script>


Thanks,
Larry

Larry,

What exactly are you trying to do.. (ie, why is that not working?)

~Quack

My Bad,
The script is working just fine, I don't have any problems with it except for that is in JS I'm trying to get the ASP or VBS version of some of my javascripts to cut down on them because I'm using a bunch of them.

Thanks,
Larry










privacy (GDPR)